[python-six] fix license handling

Tom Callaway spot at fedoraproject.org
Mon Aug 4 02:27:53 UTC 2014


commit 0fc36d3bc95d48b6e0dfec927cc3b5fd52b3abd2
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sun Aug 3 22:27:48 2014 -0400

    fix license handling

 python-six.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/python-six.spec b/python-six.spec
index e81d10c..44da8c4 100644
--- a/python-six.spec
+++ b/python-six.spec
@@ -10,7 +10,7 @@
 
 Name:           python-six
 Version:        1.7.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python 2 and 3 compatibility utilities
 
 Group:          Development/Languages
@@ -83,17 +83,24 @@ popd
 
 
 %files
-%doc LICENSE README documentation/index.rst
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc README documentation/index.rst
 %{python_sitelib}/*
 
 %if 0%{?with_python3}
 %files -n python3-six
-%doc LICENSE README documentation/index.rst
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc README documentation/index.rst
 %{python3_sitelib}/*
 %endif
 
 
 %changelog
+* Sun Aug  3 2014 Tom Callaway <spot at fedoraproject.org> - 1.7.3-2
+- fix license handling
+
 * Thu Jul 31 2014 Pádraig Brady <pbrady at redhat.com> - 1.7.3-1
 - Latest upstream
 


More information about the scm-commits mailing list