rpms/python-feedparser/EL-5 python-feedparser.spec,1.2,1.3

Konstantin Ryabitsev (icon) fedora-extras-commits at redhat.com
Fri Jun 29 20:46:33 UTC 2007


Author: icon

Update of /cvs/extras/rpms/python-feedparser/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4703/EL-5

Modified Files:
	python-feedparser.spec 
Log Message:
Cleanup and add to EPEL.



Index: python-feedparser.spec
===================================================================
RCS file: /cvs/extras/rpms/python-feedparser/EL-5/python-feedparser.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-feedparser.spec	11 Jan 2006 15:07:10 -0000	1.2
+++ python-feedparser.spec	29 Jun 2007 20:45:58 -0000	1.3
@@ -2,7 +2,7 @@
 
 Name:           python-feedparser
 Version:        4.1
-Release:        1%{?dist}
+Release:        3%{?dist}
 Summary:        Parse RSS and Atom feeds in Python
 
 Group:          Development/Languages
@@ -13,7 +13,6 @@
 
 BuildArch:      noarch
 BuildRequires:  python-devel
-Requires:       python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
 
 %description
 Universal Feed Parser is a Python module for downloading and parsing 
@@ -25,6 +24,8 @@
 
 %prep
 %setup -q -c
+find -type f -exec sed -i 's/\r//' {} ';'
+find -type f -exec chmod 0644 {} ';'
 
 
 %build
@@ -34,9 +35,10 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-mv docs html
-chmod 0644 LICENSE README
- 
+cp -a docs html
+rm -f html/examples/.ht*
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -44,12 +46,18 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE README html
-%{python_sitelib}/*.py
-%{python_sitelib}/*.pyc
-%ghost %{python_sitelib}/*.pyo
+%{python_sitelib}/*
 
 
 %changelog
+* Thu Jun 28 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 4.1-3
+- Ghostbusting (#205413).
+- Remove manual python-abi Requires.
+- Appease rpmlint.
+
+* Sat Dec 23 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 4.1-2
+- Rebuild for new Python.
+
 * Wed Jan 11 2006 Konstantin Ryabitsev <icon at fedoraproject.org> - 4.1-1
 - Version 4.1
 




More information about the fedora-extras-commits mailing list