From 6c4d14d340ca93a84b095f93780167947abcabc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 9 Aug 2021 20:37:32 +0200 Subject: [PATCH] Mark the installed LICENSE.txt as %license instead of duplicating it Related: rhbz#1932713 --- python-pip.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pip.spec b/python-pip.spec index bf90efb..0dda7a0 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -362,8 +362,8 @@ pytest_k='not completion and %files -n python%{python3_pkgversion}-%{srcname} -%license LICENSE.txt %doc README.rst +%license %{python3_sitelib}/pip-%{upstream_version}.dist-info/LICENSE.txt %if %{with doc} %{_mandir}/man1/pip.* %{_mandir}/man1/pip-*.*