From 6039a020277fb1d591d52c8ccc08460d4a15828f Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 7 Feb 2018 09:26:17 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- python-beautifulsoup4.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index 14974a2..0dd404c 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -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 - 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 - 4.6.0-4 - Cleanup spec file conditionals