]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fixes for the python esl (we need ESL.py as well)
authorMichal Bielicki - cypromis <michal.bielicki@seventhsignal.de>
Thu, 17 Feb 2011 09:09:26 +0000 (10:09 +0100)
committerMichal Bielicki - cypromis <michal.bielicki@seventhsignal.de>
Thu, 17 Feb 2011 09:09:26 +0000 (10:09 +0100)
deleting the sangoma modules if they are not defined to be build but are build anyway

freeswitch.spec
libs/esl/python/Makefile

index 6b7530d471ab59f150779c9c7349ad34cc157daf..1000a89239e63522710200dd189ea3e34e68a7bb 100644 (file)
@@ -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
 
index 784426ee1b9e1eb96a0e4c51d07832bcbb338d08..7504665561d1ceef0bc62bf27de365a2353f67a3 100644 (file)
@@ -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 *~