Simplify %files section

This commit is contained in:
Lubomír Sedlář 2018-01-17 12:57:28 +01:00
parent 0f10f26cfb
commit 246c94e7f1
1 changed files with 2 additions and 4 deletions

View File

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