SPECS: griffith.spec - also %py_ocomp

glen glen at pld-linux.org
Mon May 22 19:37:55 CEST 2006


Author: glen                         Date: Mon May 22 17:37:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- also %py_ocomp

---- Files affected:
SPECS:
   griffith.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/griffith.spec
diff -u SPECS/griffith.spec:1.16 SPECS/griffith.spec:1.17
--- SPECS/griffith.spec:1.16	Mon May 22 19:34:54 2006
+++ SPECS/griffith.spec	Mon May 22 19:37:49 2006
@@ -79,7 +79,9 @@
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/%{name}
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
-%py_postclean %{_datadir}/%{name}/lib/*.py
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
+%py_postclean %{_datadir}/%{name}/lib
 
 %find_lang %{name}
 
@@ -93,7 +95,7 @@
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/lib
 %attr(755,root,root) %{_datadir}/%{name}/lib/%{name}
-%{_datadir}/%{name}/lib/*.pyc
+%{_datadir}/%{name}/lib/*.py[co]
 %{_datadir}/%{name}/export_templates
 %{_datadir}/%{name}/glade
 %dir %{_datadir}/%{name}/images
@@ -143,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2006/05/22 17:37:49  glen
+- also %py_ocomp
+
 Revision 1.16  2006/05/22 17:34:54  glen
 - use %py_postclean macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/griffith.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list