From 7f3df300a757e029d49245217694b309eb7b9927 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 17 Sep 2019 16:06:11 -0400 Subject: [PATCH] Drop python2-webencodings (#1752405) Signed-off-by: Randy Barlow --- python-webencodings.spec | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/python-webencodings.spec b/python-webencodings.spec index e3ea1a6..b5a3ad1 100644 --- a/python-webencodings.spec +++ b/python-webencodings.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 0.5.1 -Release: 9%{?dist} +Release: 10%{?dist} BuildArch: noarch License: BSD @@ -12,8 +12,6 @@ Summary: Character encoding for the web URL: https://github.com/gsnedders/python-%{srcname} Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz -BuildRequires: python2-devel -BuildRequires: python2-pytest BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-sphinx @@ -31,18 +29,6 @@ Summary: Documentation for python-webencodings Documentation for python-webencodings. -%package -n python2-%{srcname} -Summary: %{summary} - -%{?python_provide:%python_provide python2-%{srcname}} - -Requires: python2 - - -%description -n python2-%{srcname} -%{desc} - - %package -n python3-%{srcname} Summary: %{summary} @@ -60,7 +46,6 @@ Requires: python3 %build -%py2_build %py3_build PYTHONPATH=. sphinx-build-3 docs docs/_build @@ -71,12 +56,10 @@ rm -rf docs/_build/.doctrees %install -%py2_install %py3_install %check -py.test-2 py.test-3 @@ -85,13 +68,6 @@ py.test-3 %doc docs/_build -%files -n python2-%{srcname} -%license LICENSE -%doc README.rst -%{python2_sitelib}/%{srcname} -%{python2_sitelib}/*.egg-info - - %files -n python3-%{srcname} %license LICENSE %doc README.rst @@ -100,6 +76,9 @@ py.test-3 %changelog +* Tue Sep 17 2019 Randy Barlow - 0.5.1-10 +- Drop python2-webencodings (#1752405). + * Fri Aug 16 2019 Miro HronĨok - 0.5.1-9 - Rebuilt for Python 3.8