[python-feedparser] * Tue Apr 05 2011 Luke Macken <lmacken at redhat.com> - 5.0.1-1 - Latest upstream release - Remove feed
Luke Macken
lmacken at fedoraproject.org
Tue Apr 5 17:28:15 UTC 2011
commit 2df9a44e9cbc49681914939d048f095416e8a8b6
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Apr 5 13:28:01 2011 -0400
* 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
.gitignore | 1 +
democracynow_feedparser_fix.patch | 11 -----------
feedparser_utf8_decoding.patch | 11 -----------
python-feedparser.spec | 24 +++++++++++++-----------
sources | 2 +-
5 files changed, 15 insertions(+), 34 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 baefeef..32230b1 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: 13%{?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,9 +35,9 @@ 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
-cp -a docs html
-rm -f html/examples/.ht*
+%check
+%{__python} feedparser/feedparsertest.py
%clean
rm -rf $RPM_BUILD_ROOT
@@ -49,11 +45,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
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
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