Mark the installed LICENSE.txt as %license instead of duplicating it

Related: rhbz#1932713
This commit is contained in:
Miro Hrončok 2021-08-09 20:37:32 +02:00 committed by Charalampos Stratakis
parent a83e8d6604
commit 6c4d14d340

View File

@ -362,8 +362,8 @@ pytest_k='not completion and
%files -n python%{python3_pkgversion}-%{srcname} %files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE.txt
%doc README.rst %doc README.rst
%license %{python3_sitelib}/pip-%{upstream_version}.dist-info/LICENSE.txt
%if %{with doc} %if %{with doc}
%{_mandir}/man1/pip.* %{_mandir}/man1/pip.*
%{_mandir}/man1/pip-*.* %{_mandir}/man1/pip-*.*