[python-backports-ssl_match_hostname] fix license handling

Tom Callaway spot at fedoraproject.org
Thu Jul 31 13:54:14 UTC 2014


commit cc8d8f669b8b15087858192a7adb60c72557921b
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Jul 31 09:54:08 2014 -0400

    fix license handling

 python-backports-ssl_match_hostname.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python-backports-ssl_match_hostname.spec b/python-backports-ssl_match_hostname.spec
index d43d414..c739abc 100644
--- a/python-backports-ssl_match_hostname.spec
+++ b/python-backports-ssl_match_hostname.spec
@@ -2,7 +2,7 @@
 
 Name:           python-backports-ssl_match_hostname
 Version:        3.4.0.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        The ssl.match_hostname() function from Python 3
 
 License:        Python
@@ -44,11 +44,16 @@ rm %{buildroot}%{python_sitelib}/backports/__init__.py*
 
  
 %files
-%doc README.txt LICENSE.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
+%doc README.txt
 %{python_sitelib}/*
 
 
 %changelog
+* Thu Jul 31 2014 Tom Callaway <spot at fedoraproject.org> - 3.4.0.2-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.4.0.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list