Project "FreeSWITCH Source" received a push.

branch: master updated

       via: 65d5932c9ffc17be3df98deb0fe0e3552565eb76 (commit)
      from: 2a3aea4cc8aa7a6f9f255fd548e29c30c32864fe (commit)


= COMMIT LOG ===========================================================
committer: Michal Bielicki - cypromis
comments: 
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

diff --git a/freeswitch.spec b/freeswitch.spec
index 6b7530d..1000a89 100644
--- a/freeswitch.spec
+++ b/freeswitch.spec
@@ -615,12 +615,12 @@ cd ../..
 %if %{build_sng_ss7}
 #do not delete a thing
 %else
-rm -f %{prefix}/mod/ftmod_sangoma_ss7*
+%{__rm} -f %{buildroot}/%{prefix}/mod/ftmod_sangoma_ss7*
 %endif
 %if %{build_sng_isdn}
 #do not delete a thing
 %else
-rm -f %{prefix}/mod/ftmod_sangoma_isdn*
+%{__rm} -f %{buildroot}/%{prefix}/mod/ftmod_sangoma_isdn*
 %endif
 
 
@@ -1019,7 +1019,8 @@ fi
 %defattr(-,freeswitch,daemon)
 %{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/_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
 %config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/python.conf.xml
 
diff --git a/libs/esl/python/Makefile b/libs/esl/python/Makefile
index 784426e..7504665 100644
--- a/libs/esl/python/Makefile
+++ b/libs/esl/python/Makefile
@@ -15,6 +15,7 @@ _ESL.so: esl_wrap.o
 
 install: _ESL.so
 	install -m 755 _ESL.so $(SITE_DIR)
+	install -m 755 ESL.py $(SITE_DIR)
 
 clean:
 	rm -f *.o *.so *~
========================================================================

Summary of changes:
 freeswitch.spec          |    7 ++++---
 libs/esl/python/Makefile |    1 +
 2 files changed, 5 insertions(+), 3 deletions(-)

this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630 --
FreeSWITCH Source