Name: python-cliff
# keep 2.x here for python2 support
Version: 2.18.0
-Release: 1
+Release: 2
License: Apache
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-%{version}.tar.gz
%py_install
%py_postclean
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/cliff/tests
%endif
%if %{with python3}
%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/cliff/tests
%endif
%if %{with python2}