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