[python-requests] fix license handling
Tom Callaway
spot at fedoraproject.org
Sun Aug 3 21:42:32 UTC 2014
commit cd981a741943ad6bc0565362df1a81a84f16d2fd
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sun Aug 3 17:42:24 2014 -0400
fix license handling
python-requests.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/python-requests.spec b/python-requests.spec
index aab56ca..540b958 100644
--- a/python-requests.spec
+++ b/python-requests.spec
@@ -6,7 +6,7 @@
Name: python-requests
Version: 2.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: HTTP library, written in Python, for human beings
License: ASL 2.0
@@ -117,19 +117,26 @@ popd
%files
%defattr(-,root,root,-)
-%doc NOTICE LICENSE README.rst HISTORY.rst
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc NOTICE README.rst HISTORY.rst
%{python_sitelib}/*.egg-info
%dir %{python_sitelib}/requests
%{python_sitelib}/requests/*
%if 0%{?_with_python3}
%files -n python3-requests
-%doc NOTICE LICENSE README.rst HISTORY.rst
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc NOTICE README.rst HISTORY.rst
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/requests/
%endif
%changelog
+* Sun Aug 3 2014 Tom Callaway <spot at fedoraproject.org> - 2.3.0-3
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list