From d2d8f6d315c6f4c79b5ae0842e84fe73cb205438 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Aug 03 2014 21:40:13 +0000 Subject: fix license handling --- diff --git a/python-pycurl.spec b/python-pycurl.spec index 8c9c2cb..191407d 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -2,7 +2,7 @@ Name: python-pycurl Version: 7.19.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Python interface to libcurl Group: Development/Languages @@ -85,15 +85,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.3.1-4 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 7.19.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild