Drop python2-webencodings (#1752405)
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
dbf5e9574e
commit
7f3df300a7
@ -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 <bowlofeggs@fedoraproject.org> - 0.5.1-10
|
||||
- Drop python2-webencodings (#1752405).
|
||||
|
||||
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-9
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user