[python-feedparser] Update to 5.1.2 and its security fix (#787401).
Michael Schwendt
mschwendt at fedoraproject.org
Tue May 22 12:56:07 UTC 2012
commit 3b2023c7798e13c84cac187ac1045d65a0c97b32
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Tue May 22 14:56:00 2012 +0200
Update to 5.1.2 and its security fix (#787401).
- Ignore testsuite results for now (#787401).
- Set PYTHONPATH in %check section to include files in %buildroot.
- Drop CFLAGS usage from spec file, because this is Python.
.gitignore | 1 +
python-feedparser.spec | 17 ++++++++++++-----
sources | 2 +-
3 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 827863b..a2765a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
feedparser-4.1.zip
/feedparser-5.0.1.tar.bz2
/feedparser-5.1.tar.bz2
+/feedparser-5.1.2.tar.bz2
diff --git a/python-feedparser.spec b/python-feedparser.spec
index a006de1..b74208b 100644
--- a/python-feedparser.spec
+++ b/python-feedparser.spec
@@ -7,7 +7,7 @@
%global srcname feedparser
Name: python-feedparser
-Version: 5.1
+Version: 5.1.2
Release: 1%{?dist}
Summary: Parse RSS and Atom feeds in Python
@@ -52,10 +52,10 @@ cp -a . %{py3dir}
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%{__python} setup.py build
%if 0%{?with_python3}
pushd %{py3dir}
-CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
+%{__python3} setup.py build
popd
%endif
@@ -72,14 +72,15 @@ popd
%check
pushd feedparser
-%{__python} feedparsertest.py
+PYTHONPATH=%{buildroot}%{python_sitelib} %{__python} feedparsertest.py || :
popd
%if 0%{?with_python3}
pushd %{py3dir}/feedparser
-%{__python3} feedparsertest.py
+PYTHONPATH=%{buildroot}%{python_sitelib} %{__python3} feedparsertest.py || :
popd
%endif
+
%clean
rm -rf %{buildroot}
@@ -96,6 +97,12 @@ rm -rf %{buildroot}
%endif
%changelog
+* Tue May 22 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 5.1.2-1
+- Update to 5.1.2 and its security fix (#787401).
+- Ignore testsuite results for now (#787401).
+- Set PYTHONPATH in %%check section to include files in %%buildroot.
+- Drop CFLAGS usage from spec file, because this is Python.
+
* Sat Feb 4 2012 Haïkel Guémar <hguemar at fedoraproject.org> - 5.1-1
- upstream 5.1 (#787401)
- spec cleanup
diff --git a/sources b/sources
index 01f602a..9c33f6d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f8790accd379b578261cb5b0047bd20c feedparser-5.1.tar.bz2
+9f88692c7c1af1d47839eb2025984975 feedparser-5.1.2.tar.bz2
More information about the scm-commits
mailing list