From d931d45316080ed7e6e8e6011ed72ad9ea1ba7f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 23 Sep 2019 11:54:21 +0200 Subject: [PATCH] Subpackage python2-isodate has been removed --- python-isodate.spec | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/python-isodate.spec b/python-isodate.spec index f3377e4..8f8b657 100644 --- a/python-isodate.spec +++ b/python-isodate.spec @@ -2,17 +2,13 @@ Name: python-%{srcname} Version: 0.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: An ISO 8601 date/time/duration parser and formatter License: BSD URL: https://pypi.org/project/isodate/ Source0: %pypi_source BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-six - BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six @@ -40,15 +36,9 @@ nanoseconds it will round it to microseconds. %description %{_description} -%package -n python2-%{srcname} -Summary: %summary -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -%{_description} - %package -n python3-%{srcname} Summary: %summary +%{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{_description} @@ -59,31 +49,27 @@ Summary: %summary %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{srcname} -%doc CHANGES.txt README.rst TODO.txt -%{python2_sitelib}/%{srcname}*.egg-info -%{python2_sitelib}/%{srcname} - %files -n python3-%{srcname} %doc CHANGES.txt README.rst TODO.txt -%{python3_sitelib}/%{srcname}-*.egg-info -%{python3_sitelib}/%{srcname} +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ %changelog +* Mon Sep 23 2019 Miro Hrončok - 0.6.0-4 +- Subpackage python2-isodate has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Aug 16 2019 Miro Hrončok - 0.6.0-3 - Rebuilt for Python 3.8