summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Schwendt <mschwendt@fedoraproject.org>2012-05-22 14:56:00 +0200
committerMichael Schwendt <mschwendt@fedoraproject.org>2012-05-22 14:56:00 +0200
commit3b2023c7798e13c84cac187ac1045d65a0c97b32 (patch)
treed20dc8e67d9c836705a4876074d735e7f5228500
parent864858f5cbcb31aed033939ff10300d469a0a395 (diff)
downloadpython-feedparser-3b2023c7798e13c84cac187ac1045d65a0c97b32.zip
python-feedparser-3b2023c7798e13c84cac187ac1045d65a0c97b32.tar.gz
python-feedparser-3b2023c7798e13c84cac187ac1045d65a0c97b32.tar.xz
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.
-rw-r--r--.gitignore1
-rw-r--r--python-feedparser.spec17
-rw-r--r--sources2
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@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@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