packages: python-feedparser/python-feedparser.spec - use py_postclean macro...

qboosh qboosh at pld-linux.org
Fri Dec 3 20:10:36 CET 2010


Author: qboosh                       Date: Fri Dec  3 19:10:36 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use py_postclean macro, more verbose files

---- Files affected:
packages/python-feedparser:
   python-feedparser.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/python-feedparser/python-feedparser.spec
diff -u packages/python-feedparser/python-feedparser.spec:1.12 packages/python-feedparser/python-feedparser.spec:1.13
--- packages/python-feedparser/python-feedparser.spec:1.12	Sat Nov 13 01:19:03 2010
+++ packages/python-feedparser/python-feedparser.spec	Fri Dec  3 20:10:30 2010
@@ -6,11 +6,12 @@
 Release:	5
 License:	Python Software Foundation License
 Group:		Libraries/Python
-Source0:	http://dl.sourceforge.net/feedparser/feedparser-%{version}.zip
+Source0:	http://downloads.sourceforge.net/feedparser/feedparser-%{version}.zip
 # Source0-md5:	7ab1140c1e29d4cd52ab20fa7b1f8640
 URL:		http://feedparser.org/
 BuildRequires:	python-devel >= 1:2.3.0
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	unzip
 %pyrequires_eq	python-modules
 BuildArch:	noarch
@@ -38,7 +39,7 @@
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,7 +47,8 @@
 %files
 %defattr(644,root,root,755)
 %doc README
-%{py_sitescriptdir}/*
+%{py_sitescriptdir}/feedparser.py[co]
+%{py_sitescriptdir}/feedparser-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2010/12/03 19:10:30  qboosh
+- use py_postclean macro, more verbose files
+
 Revision 1.12  2010/11/13 00:19:03  pawelz
 - release 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-feedparser/python-feedparser.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list