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