summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@fedoraproject.org>2009-06-05 14:12:35 +0000
committerLuke Macken <lmacken@fedoraproject.org>2009-06-05 14:12:35 +0000
commit75398cf45335f4b2a95b959bdcf0aec9a7d4f19c (patch)
treef46dd390e6da3b4b5aef2eea208c113b7c46b7d7
parent525889f06f7f615cdf8aefa9e30b80049650e794 (diff)
downloadpython-feedparser-75398cf45335f4b2a95b959bdcf0aec9a7d4f19c.zip
python-feedparser-75398cf45335f4b2a95b959bdcf0aec9a7d4f19c.tar.gz
python-feedparser-75398cf45335f4b2a95b959bdcf0aec9a7d4f19c.tar.xz
- Use setuptools to generate egg-infopython-feedparser-4_1-9_el5
Wed Mar 04 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.1-8 - Fix source URL (moved to googlecode).
-rw-r--r--python-feedparser.spec28
1 files changed, 21 insertions, 7 deletions
diff --git a/python-feedparser.spec b/python-feedparser.spec
index 190cd15..51424a8 100644
--- a/python-feedparser.spec
+++ b/python-feedparser.spec
@@ -2,18 +2,18 @@
Name: python-feedparser
Version: 4.1
-Release: 4%{?dist}
+Release: 9%{?dist}
Summary: Parse RSS and Atom feeds in Python
Group: Development/Languages
License: BSD
URL: http://feedparser.org/
-Source0: http://download.sourceforge.net/feedparser/feedparser-%{version}.zip
+Source0: http://feedparser.googlecode.com/files/feedparser-%{version}.zip
Patch0: feedparser_utf8_decoding.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: python-devel
+BuildRequires: python-devel python-setuptools-devel
%description
Universal Feed Parser is a Python module for downloading and parsing
@@ -31,12 +31,12 @@ find -type f -exec chmod 0644 {} ';'
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT
cp -a docs html
rm -f html/examples/.ht*
@@ -52,10 +52,24 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Sat Dec 27 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.1-4
-- fix license tag
+* Wed Jun 03 2009 Luke Macken <lmacken@redhat.com> - 4.1-9
+- Use setuptools to generate egg-info
+
+* Wed Mar 04 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.1-8
+- Fix source URL (moved to googlecode).
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Dec 27 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.1-6
- Patch for a utf8 decoding issue (#477024)
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 4.1-5
+- Rebuild for Python 2.6
+
+* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.1-4
+- fix license tag
+
* Thu Jun 28 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.1-3
- Ghostbusting (#205413).
- Remove manual python-abi Requires.