rpms/python-feedparser/EL-4 python-feedparser.spec,1.3,1.4
Konstantin Ryabitsev (icon)
fedora-extras-commits at redhat.com
Fri Jun 29 20:46:27 UTC 2007
Author: icon
Update of /cvs/extras/rpms/python-feedparser/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4703/EL-4
Modified Files:
python-feedparser.spec
Log Message:
Cleanup and add to EPEL.
Index: python-feedparser.spec
===================================================================
RCS file: /cvs/extras/rpms/python-feedparser/EL-4/python-feedparser.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-feedparser.spec 23 Dec 2006 16:04:09 -0000 1.3
+++ python-feedparser.spec 29 Jun 2007 20:45:52 -0000 1.4
@@ -2,7 +2,7 @@
Name: python-feedparser
Version: 4.1
-Release: 2%{?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,15 @@
%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.
More information about the scm-commits
mailing list