diff --git a/python-augeas.spec b/python-augeas.spec index 0ae3478..d4c334d 100644 --- a/python-augeas.spec +++ b/python-augeas.spec @@ -1,29 +1,16 @@ Name: python-augeas Version: 0.5.0 -Release: 16 +Release: 17 Summary: Python bindings for augeas License: LGPLv2+ URL: http://augeas.net/ Source0: https://pypi.python.org/packages/41/e6/4b6740cb3e31b82252099994cea751c648b846aa7874343c31d68c2215be/python-augeas-0.5.0.tar.gz BuildArch: noarch - -BuildRequires: python2-setuptools python2-devel -%if 0%{?with_python3} BuildRequires: python3-setuptools python3-devel -%endif %description Pure python bindings for augeas -%package -n python2-augeas -Summary: Python2 bindings for augeas -Requires: augeas-libs -%{?python_provide:%python_provide python2-augeas} - -%description -n python2-augeas -Python 2 bindings for augeas - -%if 0%{?with_python3} %package -n python3-augeas Summary: Python3 bindings for augeas Requires: augeas-libs @@ -31,35 +18,16 @@ Requires: augeas-libs %description -n python3-augeas Python 3 bindings for augeas -%endif %prep %autosetup -n %{name}-%{version} -p1 %build -%{py2_build} - -%if 0%{?with_python3} %{py3_build} -%endif %install -%{py2_install} - -%if 0%{?with_python3} %{py3_install} -%endif -%files -n python2-augeas -%defattr(-,root,root) -%doc AUTHORS README.txt -%license COPYING -%{python2_sitelib}/augeas.py -%{python2_sitelib}/augeas.pyc -%{python2_sitelib}/augeas.pyo -%{python2_sitelib}/python_augeas*.egg-info - -%if 0%{?with_python3} %files -n python3-augeas %defattr(-,root,root) %doc AUTHORS README.txt @@ -67,8 +35,10 @@ Python 3 bindings for augeas %{python3_sitelib}/augeas.py %{python3_sitelib}/python_augeas-*.egg-info %{python3_sitelib}/__pycache__/augeas.cpython* -%endif %changelog +* Wed Oct 21 2020 chengzihan - 0.5.0-17 +- Remove subpackage python2-augeas + * Fri Feb 14 2020 gulining - 0.5.0-16 - Package init