Subpackage python2-iniparse has been removed

See https://fedoraproject.org/wiki/Changes/RetirePython2
This commit is contained in:
Miro Hrončok 2019-11-18 09:12:13 +01:00
parent 4c253cee6c
commit 09fed753ca

View File

@ -5,7 +5,7 @@
Name: python-%{modname}
Version: 0.4
Release: 38%{?dist}
Release: 39%{?dist}
Summary: Python Module for Accessing and Modifying Configuration Data in INI files
License: MIT and Python
URL: http://code.google.com/p/iniparse/
@ -29,18 +29,6 @@ use.
%description %{_description}
%package -n python2-%{modname}
Summary: Python 2 Module for Accessing and Modifying Configuration Data in INI files
%{?python_provide:%python_provide python2-%{modname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-six
Requires: python2-six
%description -n python2-%{modname} %{_description}
Python 2 version.
%package -n python3-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modname}}
@ -63,33 +51,26 @@ Python 3 version.
chmod -c -x html/index.html
%build
%py2_build
%if %{with python3}
%py3_build
%endif
%install
%py2_install
%py3_install
rm -vfr %{buildroot}%{_docdir}/*
%check
%{__python2} runtests.py
%{__python3} runtests.py
%files -n python2-%{modname}
%license LICENSE LICENSE-PSF
%doc README Changelog html/
%{python2_sitelib}/%{modname}/
%{python2_sitelib}/%{modname}-%{version}-*.egg-info
%files -n python3-%{modname}
%license LICENSE LICENSE-PSF
%doc README Changelog html/
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}-*.egg-info
%{python3_sitelib}/%{modname}-%{version}-*.egg-info/
%changelog
* Mon Nov 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-39
- Subpackage python2-iniparse has been removed
See https://fedoraproject.org/wiki/Changes/RetirePython2
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-38
- Rebuilt for Python 3.8.0rc1 (#1748018)