From 6a7d7b84a878ddf1a1f7bde896c4859f3fdf7d54 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Aug 03 2014 21:39:29 +0000 Subject: fix license handling --- diff --git a/python-pycurl.spec b/python-pycurl.spec index 738620f..1ce0018 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -5,7 +5,7 @@ Name: python-pycurl Version: 7.19.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Python interface to libcurl Group: Development/Languages @@ -88,15 +88,22 @@ popd rm -rf %{buildroot}%{_datadir}/doc/pycurl %files -%doc COPYING-LGPL COPYING-MIT ChangeLog README.rst examples doc tests +%{!?_licensedir:%global license %%doc} +%license COPYING-LGPL COPYING-MIT +%doc ChangeLog README.rst examples doc tests %{python_sitearch}/* %files -n python3-pycurl # TODO: find the lost COPYING file -%doc COPYING-LGPL COPYING-MIT ChangeLog README.rst examples doc tests +%{!?_licensedir:%global license %%doc} +%license COPYING-LGPL COPYING-MIT +%doc ChangeLog README.rst examples doc tests %{python3_sitearch}/* %changelog +* Sun Aug 3 2014 Tom Callaway - 7.19.5-2 +- fix license handling + * Mon Jul 14 2014 Kamil Dudka - 7.19.5-1 - update to 7.19.5