SPECS: cjc.spec - added %py_comp, packaging *.py files without *.p...

jajcus jajcus at pld-linux.org
Mon Dec 26 21:22:29 CET 2005


Author: jajcus                       Date: Mon Dec 26 20:22:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added %py_comp, packaging *.py files without *.py[oc] is evil.

---- Files affected:
SPECS:
   cjc.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/cjc.spec
diff -u SPECS/cjc.spec:1.20 SPECS/cjc.spec:1.21
--- SPECS/cjc.spec:1.20	Mon Dec 26 20:49:11 2005
+++ SPECS/cjc.spec	Mon Dec 26 21:22:24 2005
@@ -40,6 +40,9 @@
 
 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc
 
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
+
 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}{,/ui}/*.py
 
 %clean
@@ -53,8 +56,8 @@
 %dir %{_datadir}/%{name}/%{name}
 %dir %{_datadir}/%{name}/%{name}/ui
 %dir %{_datadir}/%{name}/plugins
-%{_datadir}/%{name}/%{name}/*.py[co]
-%{_datadir}/%{name}/%{name}/ui/*.py[co]
+%{_datadir}/%{name}/%{name}/*.pyc
+%{_datadir}/%{name}/%{name}/ui/*.pyc
 %{_datadir}/%{name}/plugins/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -63,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2005/12/26 20:22:24  jajcus
+- added %py_comp, packaging *.py files without *.py[oc] is evil.
+
 Revision 1.20  2005/12/26 19:49:11  jajcus
 - Version: 1.0.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cjc.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list