diff --git a/python-IPy.spec b/python-IPy.spec index f4ad720..288fe91 100644 --- a/python-IPy.spec +++ b/python-IPy.spec @@ -7,7 +7,7 @@ Summary: Python module for handling IPv4 and IPv6 Addresses and Networks Name: python-%{oname} Version: 0.81 -Release: 11%{?dist} +Release: 12%{?dist} URL: https://github.com/haypo/python-ipy Source0: http://pypi.python.org/packages/source/I/IPy/IPy-%{version}.tar.gz License: BSD @@ -42,7 +42,9 @@ make test %files %defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog PKG-INFO README +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS ChangeLog PKG-INFO README %{python_sitelib}/%{oname}* %package python3 @@ -56,11 +58,16 @@ and IPv6 Addresses and Networks. %files python3 %defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog PKG-INFO README +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS ChangeLog PKG-INFO README %{python3_sitelib}/%{oname}* %{python3_sitelib}/__pycache__/%{oname}* %changelog +* Thu Jul 31 2014 Tom Callaway - 0.81-12 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 0.81-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild