From 9a64a64e2fe5a896496b86e0e6b4f7214e2e1219 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Nov 18 2019 09:09:54 +0000 Subject: Remove Python 2 subpackage https://bugzilla.redhat.com/show_bug.cgi?id=1773238 --- diff --git a/python-pathlib2.spec b/python-pathlib2.spec index 1d70122..53f531f 100644 --- a/python-pathlib2.spec +++ b/python-pathlib2.spec @@ -2,7 +2,7 @@ Name: python-%{modname} Version: 2.3.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Object-oriented filesystem paths License: MIT URL: https://github.com/mcmtroffaes/pathlib2/ @@ -17,21 +17,6 @@ pathlib can be used also on older Python versions. %description %{_description} -%package -n python2-%{modname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modname}} -BuildRequires: python2-devel -BuildRequires: python2-mock -BuildRequires: python2-pytest -BuildRequires: python2-scandir -BuildRequires: python2-six -Requires: python2-scandir -Requires: python2-six - -%description -n python2-%{modname} %{_description} - -Python 2 version. - %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} @@ -50,25 +35,14 @@ Python 3 version. %setup -q -n %{modname}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -# LANG has to be set here because otherwise file system encoding is -# ANSI_X3.4-1968 by default in mock build -LANG=C.utf8 %{__python2} -m pytest -v tests %{__python3} -m pytest -v tests -%files -n python2-%{modname} -%doc README.rst -%license LICENSE.rst -%{python2_sitelib}/%{modname}/ -%{python2_sitelib}/%{modname}-%{version}-py?.?.egg-info - %files -n python3-%{modname} %doc README.rst %license LICENSE.rst @@ -76,6 +50,10 @@ LANG=C.utf8 %{__python2} -m pytest -v tests %{python3_sitelib}/%{modname}-%{version}-py?.?.egg-info %changelog +* Mon Nov 18 2019 Petr Viktorin - 2.3.4-5 +- Remove Python 2 subpackage + https://bugzilla.redhat.com/show_bug.cgi?id=1773238 + * Thu Oct 03 2019 Miro HronĨok - 2.3.4-4 - Rebuilt for Python 3.8.0rc1 (#1748018)