Subpackage python2-iso8601 has been removed

This commit is contained in:
Miro Hrončok 2019-10-19 10:17:27 +02:00
parent 6890fcc090
commit 0f5f1213ba

View File

@ -8,7 +8,7 @@ This module parses the most common forms of ISO 8601 date strings \
Name: python-%{srcname}
Version: 0.1.11
Release: 15%{?dist}
Release: 16%{?dist}
Summary: %{sum}
License: MIT
@ -16,21 +16,9 @@ URL: http://pypi.python.org/pypi/%{srcname}/
Source0: http://pypi.python.org/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-srpm-macros
%description %{pkgdesc}
%package -n python2-%{srcname}
Summary: %{sum}
%{?python_provide:%python_provide python2-%{srcname}}
# python_provide does not exist in CBS Cloud buildroot
Provides: python-%{srcname} = %{version}-%{release}
Obsoletes: python-%{srcname} < 0.1.10-6
BuildRequires: python2-devel python2-setuptools
%description -n python2-%{srcname} %{pkgdesc}
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{sum}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
@ -54,23 +42,17 @@ BuildRequires: python%{python3_other_pkgversion}-setuptools
%autosetup -n %{srcname}-%{version}
%build
%py2_build
%py3_build
%if 0%{?with_python3_other}
%py3_other_build
%endif
%install
%py2_install
%py3_install
%if 0%{?with_python3_other}
%py3_other_install
%endif
%files -n python2-%{srcname}
%doc LICENSE README.rst
%{python2_sitelib}/*
%files -n python%{python3_pkgversion}-%{srcname}
%doc LICENSE README.rst
%{python3_sitelib}/*
@ -82,6 +64,10 @@ BuildRequires: python%{python3_other_pkgversion}-setuptools
%endif
%changelog
* Sat Oct 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.11-16
- Subpackage python2-iso8601 has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.11-15
- Rebuilt for Python 3.8.0rc1 (#1748018)