fixes for the python esl (we need ESL.py as well)

deleting the sangoma modules if they are not defined to be build but are build anyway
上级 2a3aea4c
...@@ -615,12 +615,12 @@ cd ../.. ...@@ -615,12 +615,12 @@ cd ../..
%if %{build_sng_ss7} %if %{build_sng_ss7}
#do not delete a thing #do not delete a thing
%else %else
rm -f %{prefix}/mod/ftmod_sangoma_ss7* %{__rm} -f %{buildroot}/%{prefix}/mod/ftmod_sangoma_ss7*
%endif %endif
%if %{build_sng_isdn} %if %{build_sng_isdn}
#do not delete a thing #do not delete a thing
%else %else
rm -f %{prefix}/mod/ftmod_sangoma_isdn* %{__rm} -f %{buildroot}/%{prefix}/mod/ftmod_sangoma_isdn*
%endif %endif
...@@ -1019,7 +1019,8 @@ fi ...@@ -1019,7 +1019,8 @@ fi
%defattr(-,freeswitch,daemon) %defattr(-,freeswitch,daemon)
%{prefix}/mod/mod_python*.so* %{prefix}/mod/mod_python*.so*
%attr(0644, root, bin) /usr/lib/python*/site-packages/freeswitch.py* %attr(0644, root, bin) /usr/lib/python*/site-packages/freeswitch.py*
%attr(0644, root, bin) /usr/lib/python*/site-packages/_ESL.so* %attr(0755, root, bin) /usr/lib/python*/site-packages/_ESL.so*
%attr(0755, root, bin) /usr/lib/python*/site-packages/ESL.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
......
...@@ -15,6 +15,7 @@ _ESL.so: esl_wrap.o ...@@ -15,6 +15,7 @@ _ESL.so: esl_wrap.o
install: _ESL.so install: _ESL.so
install -m 755 _ESL.so $(SITE_DIR) install -m 755 _ESL.so $(SITE_DIR)
install -m 755 ESL.py $(SITE_DIR)
clean: clean:
rm -f *.o *.so *~ rm -f *.o *.so *~
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论