[python-pycurl] fix license handling
Tom Callaway
spot at fedoraproject.org
Sun Aug 3 21:39:36 UTC 2014
commit 6a7d7b84a878ddf1a1f7bde896c4859f3fdf7d54
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sun Aug 3 17:39:29 2014 -0400
fix license handling
python-pycurl.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
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 <spot at fedoraproject.org> - 7.19.5-2
+- fix license handling
+
* Mon Jul 14 2014 Kamil Dudka <kdudka at redhat.com> - 7.19.5-1
- update to 7.19.5
More information about the scm-commits
mailing list