Subpackage python2-augeas has been removed

This commit is contained in:
Miro Hrončok 2019-11-28 11:04:56 +01:00
parent 2d86226c54
commit f002096646

View File

@ -1,33 +1,19 @@
%global with_python3 1
Name: python-augeas
Version: 0.5.0
Release: 17%{?dist}
Release: 18%{?dist}
Summary: Python bindings to augeas
License: LGPLv2+
URL: http://augeas.net/
Source0: http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-setuptools python2-devel
%if 0%{?with_python3}
BuildRequires: python3-setuptools python3-devel
%endif # with_python3
BuildRequires: python3-setuptools
BuildRequires: python3-devel
%description
python-augeas is a set of Python bindings around augeas.
%package -n python2-augeas
Summary: Python 2 bindings to augeas
Requires: augeas-libs
%{?python_provide:%python_provide python2-augeas}
%description -n python2-augeas
python2-augeas is a set of Python bindings around augeas.
%if 0%{?with_python3}
%package -n python3-augeas
Summary: Python 3 bindings to augeas
Requires: augeas-libs
@ -35,43 +21,30 @@ Requires: augeas-libs
%description -n python3-augeas
python3-augeas is a set of Python bindings around augeas.
%endif # with_python3
%prep
%setup -q
%build
%{py2_build}
%if 0%{?with_python3}
%{py3_build}
%endif # with_python3
%install
%{py2_install}
%if 0%{?with_python3}
%{py3_install}
%endif # with_python3
%files -n python2-augeas
%license COPYING
%doc AUTHORS README.txt
%{python2_sitelib}/augeas.py*
%{python2_sitelib}/python_augeas*.egg-info
%if 0%{?with_python3}
%files -n python3-augeas
%license COPYING
%doc AUTHORS README.txt
%{python3_sitelib}/augeas.py
%{python3_sitelib}/python_augeas-*.egg-info
%{python3_sitelib}/__pycache__/*
%endif # with_python3
%changelog
* Thu Nov 28 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-18
- Subpackage python2-augeas 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.5.0-17
- Rebuilt for Python 3.8.0rc1 (#1748018)