[python-pycurl/f21] fix license handling
Tom Callaway
spot at fedoraproject.org
Sun Aug 3 21:40:19 UTC 2014
commit d2d8f6d315c6f4c79b5ae0842e84fe73cb205438
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sun Aug 3 17:40:13 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 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 <spot at fedoraproject.org> - 7.19.3.1-4
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 7.19.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list