diff --git a/python-feedparser.spec b/python-feedparser.spec index 8651f1f..2c83db9 100644 --- a/python-feedparser.spec +++ b/python-feedparser.spec @@ -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 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 @@ modules, including Dublin Core and Apple's iTunes extensions. %prep %setup -q -c +find -type f -exec sed -i 's/\r//' {} ';' +find -type f -exec chmod 0644 {} ';' %build @@ -34,9 +35,10 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %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 @@ rm -rf $RPM_BUILD_ROOT %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 - 4.1-3 +- Ghostbusting (#205413). +- Remove manual python-abi Requires. +- Appease rpmlint. + +* Sat Dec 23 2006 Jason L Tibbitts III - 4.1-2 +- Rebuild for new Python. + * Wed Jan 11 2006 Konstantin Ryabitsev - 4.1-1 - Version 4.1