From f9b0f761cac4d2c04afbb9f6938fbd512720ea3d Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 31 Jul 2014 11:24:17 -0400 Subject: [PATCH] fix license handling --- python-prettytable.spec | 13 ++++++++++--- 1 file 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 - 0.7.2-4 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 0.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild