Simplify %files section

This commit is contained in:
Lubomír Sedlář 2018-01-17 12:57:28 +01:00
parent 0f10f26cfb
commit 246c94e7f1

View File

@ -92,15 +92,13 @@ and installation media.
%files -n python2-productmd
%license LICENSE
%doc AUTHORS
%{python_sitelib}/productmd/
%{python_sitelib}/productmd-%{version}-py?.?.egg-info
%{python_sitelib}/*
%if 0%{?with_python3}
%files -n python%{python3_pkgversion}-productmd
%license LICENSE
%doc AUTHORS
%{python3_sitelib}/productmd/
%{python3_sitelib}/productmd-%{version}-py?.?.egg-info
%{python3_sitelib}/*
%endif
%changelog