SPECS: system-config-printer.spec - py_postclean usage (pythondirs are alwa...

qboosh qboosh at pld-linux.org
Thu Oct 23 17:46:47 CEST 2008


Author: qboosh                       Date: Thu Oct 23 15:46:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- py_postclean usage (pythondirs are always scanned)

---- Files affected:
SPECS:
   system-config-printer.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/system-config-printer.spec
diff -u SPECS/system-config-printer.spec:1.21 SPECS/system-config-printer.spec:1.22
--- SPECS/system-config-printer.spec:1.21	Thu Oct 23 17:10:35 2008
+++ SPECS/system-config-printer.spec	Thu Oct 23 17:46:41 2008
@@ -15,11 +15,12 @@
 BuildRequires:	gettext-devel
 BuildRequires:	intltool
 BuildRequires:	python-devel
+BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	xmlto
+%pyrequires_eq	python-libs
 Requires:	python-PyXML
 Requires:	python-pycups >= 1.9.28
 Requires:	python-pynotify
-%pyrequires_eq	python-libs
 Obsoletes:	eggcups
 Obsoletes:	gnome-cups-manager < 0.34
 # sr at Latn vs. sr at latin
@@ -65,7 +66,7 @@
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-printer
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers
-%py_postclean $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,7 +90,7 @@
 %{_desktopdir}/*.desktop
 %{py_sitescriptdir}/cupshelpers-1.0-py*.egg-info
 %dir %{py_sitescriptdir}/cupshelpers
-%{py_sitescriptdir}/cupshelpers/*py[co]
+%{py_sitescriptdir}/cupshelpers/*.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -97,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2008/10/23 15:46:41  qboosh
+- py_postclean usage (pythondirs are always scanned)
+
 Revision 1.21  2008/10/23 15:10:35  patrys
 - 1.0.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/system-config-printer.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list