[python-feedparser/el5/master] - Latest upstream release - Remove feedparser_utf8_decoding.patch - Remove democracynow_feedparser_f
Luke Macken
lmacken at fedoraproject.org
Tue Apr 5 18:35:04 UTC 2011
commit 9236d2e0d4314d46463837dde0fa75f7322c5f54
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Apr 5 14:34:47 2011 -0400
- Latest upstream release
- Remove feedparser_utf8_decoding.patch
- Remove democracynow_feedparser_fix.patch
- Run the test suite
.gitignore | 1 +
python-feedparser.spec | 26 +++++++++++++++-----------
sources | 2 +-
3 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 53ed2e0..849e72d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
feedparser-4.1.zip
+/feedparser-5.0.1.tar.bz2
diff --git a/python-feedparser.spec b/python-feedparser.spec
index 98eae4e..8986dd6 100644
--- a/python-feedparser.spec
+++ b/python-feedparser.spec
@@ -1,16 +1,14 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-feedparser
-Version: 4.1
-Release: 10%{?dist}
+Version: 5.0.1
+Release: 1%{?dist}
Summary: Parse RSS and Atom feeds in Python
Group: Development/Languages
License: BSD
URL: http://feedparser.org/
-Source0: http://feedparser.googlecode.com/files/feedparser-%{version}.zip
-Patch0: feedparser_utf8_decoding.patch
-Patch1: democracynow_feedparser_fix.patch
+Source0: http://feedparser.googlecode.com/files/feedparser-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -25,9 +23,7 @@ modules, including Dublin Core and Apple's iTunes extensions.
%prep
-%setup -q -c
-%patch0 -p0 -b .utf8_decoding
-%patch1 -p0 -b .title_munging
+%setup -q -n feedparser-%{version}
find -type f -exec sed -i 's/\r//' {} ';'
find -type f -exec chmod 0644 {} ';'
@@ -39,8 +35,10 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")'
%install
rm -rf $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*
+
+
+%check
+%{__python} feedparser/feedparsertest.py
%clean
@@ -49,11 +47,17 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc LICENSE README html
+%doc LICENSE README
%{python_sitelib}/*
%changelog
+* Tue Apr 05 2011 Luke Macken <lmacken at redhat.com> - 5.0.1-1
+- Latest upstream release
+- Remove feedparser_utf8_decoding.patch
+- Remove democracynow_feedparser_fix.patch
+- Run the test suite
+
* Fri Aug 07 2009 Konstantin Ryabitsev <icon at fedoraproject.org> - 4.1-10
- Apply patch for title munging issue (#491373)
diff --git a/sources b/sources
index daee48a..e1e45d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7ab1140c1e29d4cd52ab20fa7b1f8640 feedparser-4.1.zip
+702835de74bd4a578524f311e62c2877 feedparser-5.0.1.tar.bz2
More information about the scm-commits
mailing list