ralph pushed to python-urllib3 (f20). "Merge branch 'f21' (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 15 13:51:02 UTC 2015


From bbecee79f93aecc316e97af2ca3afec89d714557 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Mon, 4 Aug 2014 00:08:03 -0400
Subject: fix license handling


diff --git a/python-urllib3.spec b/python-urllib3.spec
index b9406c1..07c50d2 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -8,7 +8,7 @@
 
 Name:           python-%{srcname}
 Version:        1.8.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Python HTTP library with thread-safe connection pooling and file post
 
 License:        MIT
@@ -114,18 +114,24 @@ popd
 %endif # with_python3
 
 %files
-%doc CHANGES.rst LICENSE.txt README.rst CONTRIBUTORS.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
+%doc CHANGES.rst README.rst CONTRIBUTORS.txt
 # For noarch packages: sitelib
 %{python_sitelib}/*
 
 %if 0%{?with_python3}
 %files -n python3-%{srcname}
-%doc LICENSE.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
 # For noarch packages: sitelib
 %{python3_sitelib}/*
 %endif # with_python3
 
 %changelog
+* Mon Aug  4 2014 Tom Callaway <spot at fedoraproject.org> - 1.8.2-4
+- fix license handling
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-urllib3.git/commit/?h=f20&id=8ee9464632db0ced94289e7d5d45beed6f942e0d


More information about the scm-commits mailing list