|
|
|
@ -5,18 +5,18 @@
|
|
|
|
|
|
|
|
|
|
Name: python-beautifulsoup4
|
|
|
|
|
Version: 4.6.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: HTML/XML parser for quick-turnaround applications like screen-scraping
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.crummy.com/software/BeautifulSoup/
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/b/%{oname}/%{oname}-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python-devel >= 2.7
|
|
|
|
|
BuildRequires: python2-devel >= 2.7
|
|
|
|
|
# html5lib BR just for test coverage
|
|
|
|
|
BuildRequires: python-html5lib
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
BuildRequires: python-lxml
|
|
|
|
|
BuildRequires: python2-html5lib
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
BuildRequires: python2-lxml
|
|
|
|
|
BuildRequires: /usr/bin/2to3
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
@ -42,7 +42,7 @@ minutes with Beautiful Soup.
|
|
|
|
|
|
|
|
|
|
%package -n python2-beautifulsoup4
|
|
|
|
|
Summary: %summary
|
|
|
|
|
Requires: python-lxml
|
|
|
|
|
Requires: python2-lxml
|
|
|
|
|
%{?python_provide:%python_provide python2-beautifulsoup4}
|
|
|
|
|
|
|
|
|
|
%description -n python2-beautifulsoup4 %_description
|
|
|
|
@ -51,7 +51,7 @@ Requires: python-lxml
|
|
|
|
|
%package -n python3-beautifulsoup4
|
|
|
|
|
Summary: HTML/XML parser for quick-turnaround applications like screen-scraping
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
BuildRequires: python-tools
|
|
|
|
|
BuildRequires: python2-tools
|
|
|
|
|
# html5lib BR just for test coverage
|
|
|
|
|
BuildRequires: python3-html5lib
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
@ -133,6 +133,10 @@ pushd %{py3dir}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.6.0-5
|
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 4.6.0-4
|
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
|
|
|
|
|