diff --git a/python-pdfrw.spec b/python-pdfrw.spec index 18260ef..66bef90 100644 --- a/python-pdfrw.spec +++ b/python-pdfrw.spec @@ -3,7 +3,7 @@ Name: python-pdfrw Version: 0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python library to read and write PDF files License: MIT @@ -39,11 +39,16 @@ popd %{__python} setup.py install --skip-build --root %{buildroot} %files -%doc LICENSE.txt README.txt examples +%{!?_licensedir:%global license %%doc} +%license LICENSE.txt +%doc README.txt examples %{python_sitelib}/pdfrw-*.egg-info %{python_sitelib}/pdfrw %changelog +* Sun Nov 15 2015 Till Maas - 0.1-6 +- Use %%license + * Thu Jun 18 2015 Fedora Release Engineering - 0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild