[packages/supervisor] do not modify .py after they have been compiled!

glen glen at pld-linux.org
Sat Mar 9 11:04:47 CET 2013


commit 4124e268615d2382e2c0cf53d6eb7ec228e4b68e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 9 12:04:07 2013 +0200

    do not modify .py after they have been compiled!

 supervisor.spec | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/supervisor.spec b/supervisor.spec
index 6d1d736..8fb1479 100644
--- a/supervisor.spec
+++ b/supervisor.spec
@@ -51,7 +51,6 @@ install -d $RPM_BUILD_ROOT{/etc/logrotate.d,%{_sysconfdir}/supervisord.d,%{syste
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/supervisord.service
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/supervisord.conf
 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/supervisor
-sed -i s'/^#!.*//' $(find $RPM_BUILD_ROOT%{py_sitescriptdir}/supervisor -type f)
 
 # not useful as a library
 %{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/supervisor/scripts/sample_*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/supervisor.git/commitdiff/4124e268615d2382e2c0cf53d6eb7ec228e4b68e



More information about the pld-cvs-commit mailing list