From 8f31f816cc11076e2c6335af87357bfc988e1a15 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 --- python-pip.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pip.spec b/python-pip.spec index 50a2677..f92bb33 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -359,8 +359,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-*.*