SPECS: griffith.spec - use %py_postclean macro

glen glen at pld-linux.org
Mon May 22 19:35:00 CEST 2006


Author: glen                         Date: Mon May 22 17:35:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %py_postclean macro

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

---- Diffs:

================================================================
Index: SPECS/griffith.spec
diff -u SPECS/griffith.spec:1.15 SPECS/griffith.spec:1.16
--- SPECS/griffith.spec:1.15	Sun May 21 22:01:27 2006
+++ SPECS/griffith.spec	Mon May 22 19:34:54 2006
@@ -23,14 +23,15 @@
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
 BuildRequires:	python-pygtk-devel
+BuildRequires:	rpmbuild(macros) >= 1.234
 %pyrequires_eq	python-modules
 Requires:	gtk+2 >= 2:2.6.0
 Requires:	python-Imaging
 Requires:	python-ReportLab
+%{?with_gtkspell:Requires: python-gnome-extras-gtkspell}
 Requires:	python-gnome-gconf
 Requires:	python-pygtk-gtk >= 2:2.6.0
 Requires:	python-sqlite1 >= 1.1.7
-%{?with_gtkspell:Requires: python-gnome-extras-gtkspell}
 #Suggests:	python-gnome-extras
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -78,9 +79,7 @@
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/%{name}
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
-
-
-rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/*.py
+%py_postclean %{_datadir}/%{name}/lib/*.py
 
 %find_lang %{name}
 
@@ -144,6 +143,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/05/22 17:34:54  glen
+- use %py_postclean macro
+
 Revision 1.15  2006/05/21 20:01:27  teodor
 - up to 0.6.1
 - using py_compile
================================================================

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



More information about the pld-cvs-commit mailing list