From 566e3464f63259361f6335d9ec28873446f37d6e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:09:07 +0100 Subject: [PATCH] rebuilt with py3* packages [release 5.2.1-2mamba;Sat Apr 11 2020] --- python-feedparser.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/python-feedparser.spec b/python-feedparser.spec index 41143fb..e017982 100644 --- a/python-feedparser.spec +++ b/python-feedparser.spec @@ -1,6 +1,6 @@ Name: python-feedparser Version: 5.2.1 -Release: 1mamba +Release: 2mamba Summary: Feed Parser package for Python Group: Development/Libraries/Python Vendor: openmamba @@ -18,6 +18,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension modules, including Dublin Core and Apple\'s iTunes extensions. This module is built for python %{python_version}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n feedparser-%{version} @@ -26,18 +30,20 @@ This module is built for python %{python_version}. %{__python} setup.py \ install --optimize=2 \ --root=%{buildroot} \ - --record=INSTALLED_FILES -##%{__python} setup.py install --root=%{buildroot} --record=INSTALLED_FILES -##cp -a docs html + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f INSTALLED_FILES +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -##%doc LICENSE README docs/ %changelog +* Sat Apr 11 2020 Silvan Calarco 5.2.1-2mamba +- rebuilt with py3* packages + * Thu Oct 22 2015 Automatic Build System 5.2.1-1mamba - automatic version update by autodist