[python-prettytable] fix license handling
Tom Callaway
spot at fedoraproject.org
Thu Jul 31 15:24:22 UTC 2014
commit f9b0f761cac4d2c04afbb9f6938fbd512720ea3d
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Jul 31 11:24:17 2014 -0400
fix license handling
python-prettytable.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/python-prettytable.spec b/python-prettytable.spec
index 6ce7385..4eaf878 100644
--- a/python-prettytable.spec
+++ b/python-prettytable.spec
@@ -9,7 +9,7 @@
Name: python-%{modname}
Version: 0.7.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Python library to display tabular data in tables
Group: Development/Languages
@@ -93,13 +93,17 @@ popd
%files
-%doc README COPYING CHANGELOG
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README CHANGELOG
%{python_sitelib}/%{modname}.py*
%{python_sitelib}/%{modname}-%{version}*
%if 0%{?with_python3}
%files -n python3-%{modname}
-%doc README COPYING CHANGELOG
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README CHANGELOG
%{python3_sitelib}/%{modname}.py*
%{python3_sitelib}/__pycache__/%{modname}*
%{python3_sitelib}/%{modname}-%{version}*
@@ -107,6 +111,9 @@ popd
%changelog
+* Thu Jul 31 2014 Tom Callaway <spot at fedoraproject.org> - 0.7.2-4
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list