update to 6.0.8 [release 6.0.8-1mamba;Tue Jan 11 2022]
This commit is contained in:
parent
566e3464f6
commit
4c89bb4dc3
@ -1,18 +1,18 @@
|
|||||||
Name: python-feedparser
|
Name: python-feedparser
|
||||||
Version: 5.2.1
|
Version: 6.0.8
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Feed Parser package for Python
|
Summary: Feed Parser package for Python
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://feedparser.org/
|
URL: https://github.com/kurtmckee/feedparser
|
||||||
Source: https://pypi.python.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2
|
Source: https://pypi.debian.net/feedparser/feedparser-%{version}.tar.gz
|
||||||
License: Python Software Foundation License
|
License: Python Software Foundation License
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(sgmllib3k)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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.
|
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.
|
||||||
@ -25,22 +25,33 @@ This module is built for python %{python_version}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n feedparser-%{version}
|
%setup -q -n feedparser-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py \
|
%{__python} setup.py install \
|
||||||
install --optimize=2 \
|
-O1 --skip-build \
|
||||||
--root=%{buildroot} \
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{python_inc} \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
#sed -i "/__pycache__.*cpython/d" %{name}.filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/feedparser-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/feedparser-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.8-1mamba
|
||||||
|
- update to 6.0.8
|
||||||
|
|
||||||
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-2mamba
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-2mamba
|
||||||
- rebuilt with py3* packages
|
- rebuilt with py3* packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user