forked from Mirrors/freeswitch
fix a fedora dep and fix python path to be variable in sopec file
This commit is contained in:
parent
de49305ad5
commit
7438e24d1a
|
@ -89,6 +89,9 @@ BuildRequires: libtool >= 1.5.17
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if %{_vendor} == redhat && 0%{?fedora} <= 8
|
||||||
|
BuildRequires: perl-ExtUtils-Embed
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: termcap
|
BuildRequires: termcap
|
||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
|
@ -893,7 +896,7 @@ fi
|
||||||
%files python
|
%files python
|
||||||
%defattr(-,freeswitch,daemon)
|
%defattr(-,freeswitch,daemon)
|
||||||
%{prefix}/mod/mod_python*.so*
|
%{prefix}/mod/mod_python*.so*
|
||||||
%attr(0644, root, bin) /usr/lib/python2.4/site-packages/freeswitch.py*
|
%attr(0644, root, bin) /usr/lib/python*/site-packages/freeswitch.py*
|
||||||
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/python.conf.xml
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/python.conf.xml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue