[python-zodbpickle] Use license macro.

Jerry James jjames at fedoraproject.org
Sun Feb 22 02:48:40 UTC 2015


commit 12d248b66a541a6970f140144619b1130bfc7b04
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Sat Feb 21 19:48:34 2015 -0700

    Use license macro.

 python-zodbpickle.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-zodbpickle.spec b/python-zodbpickle.spec
index 952e112..4a63f58 100644
--- a/python-zodbpickle.spec
+++ b/python-zodbpickle.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} >= 12 || 0%{?rhel} >= 8
+%if 0%{?fedora} || 0%{?rhel} >= 8
 %global with_py3 1
 %endif
 
@@ -6,7 +6,7 @@
 
 Name:           python-%{pkgname}
 Version:        0.5.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Fork of Python 2 pickle module for ZODB
 
 # Code taken from the python 3 sources is covered by the Python license.
@@ -113,16 +113,19 @@ popd
 %endif
  
 %files
-%doc %{pkgname}-%{version}/LICENSE.txt
+%license %{pkgname}-%{version}/LICENSE.txt
 %{python2_sitearch}/%{pkgname}*
 
 %if 0%{?with_py3}
 %files -n python3-%{pkgname}
-%doc %{pkgname}-%{version}/LICENSE.txt
+%license %{pkgname}-%{version}/LICENSE.txt
 %{python3_sitearch}/%{pkgname}*
 %endif
 
 %changelog
+* Sat Feb 21 2015 Jerry James <loganjerry at gmail.com> - 0.5.2-3
+- Use license macro
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list