Name: python-augeas Version: 0.5.0 Release: 16 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 %{?python_provide:%python_provide python3-augeas} %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 %license COPYING %{python3_sitelib}/augeas.py %{python3_sitelib}/python_augeas-*.egg-info %{python3_sitelib}/__pycache__/augeas.cpython* %endif %changelog * Fri Feb 14 2020 gulining - 0.5.0-16 - Package init