fix license handling

This commit is contained in:
Tom Callaway 2014-07-31 11:24:17 -04:00
parent b6dd79c44f
commit f9b0f761ca

View File

@ -9,7 +9,7 @@
Name: python-%{modname} Name: python-%{modname}
Version: 0.7.2 Version: 0.7.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: Python library to display tabular data in tables Summary: Python library to display tabular data in tables
Group: Development/Languages Group: Development/Languages
@ -93,13 +93,17 @@ popd
%files %files
%doc README COPYING CHANGELOG %{!?_licensedir:%global license %%doc}
%license COPYING
%doc README CHANGELOG
%{python_sitelib}/%{modname}.py* %{python_sitelib}/%{modname}.py*
%{python_sitelib}/%{modname}-%{version}* %{python_sitelib}/%{modname}-%{version}*
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-%{modname} %files -n python3-%{modname}
%doc README COPYING CHANGELOG %{!?_licensedir:%global license %%doc}
%license COPYING
%doc README CHANGELOG
%{python3_sitelib}/%{modname}.py* %{python3_sitelib}/%{modname}.py*
%{python3_sitelib}/__pycache__/%{modname}* %{python3_sitelib}/__pycache__/%{modname}*
%{python3_sitelib}/%{modname}-%{version}* %{python3_sitelib}/%{modname}-%{version}*
@ -107,6 +111,9 @@ popd
%changelog %changelog
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 0.7.2-4
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild