From e207fcf69248197ddef63dc95205afcecad992f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 11 Jan 2016 23:58:34 +0200 Subject: [PATCH] Ship COPYING as %license where applicable --- python-yubico.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-yubico.spec b/python-yubico.spec index 37a0d71..193729a 100644 --- a/python-yubico.spec +++ b/python-yubico.spec @@ -94,12 +94,15 @@ popd %files -%doc python2/COPYING python2/NEWS python2/README +%{!?_licensedir:%global license %%doc} +%license python2/COPYING +%doc python2/NEWS python2/README %{python2_sitelib}/* %if %{with python3} %files -n python3-yubico -%doc python3/COPYING python3/NEWS python3/README +%license python3/COPYING +%doc python3/NEWS python3/README %{python3_sitelib}/* %endif @@ -124,6 +127,9 @@ popd * Mon Jan 11 2016 Will Thompson - 1.2.3-5 - Add python3-pyusb dependency to python3 subpackage (#1278210) +* Mon Jan 11 2016 Ville Skyttä +- Ship COPYING as %%license where applicable + * Tue Nov 10 2015 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5