fix license handling

This commit is contained in:
Tom Callaway 2014-08-03 22:27:48 -04:00
parent 306dbe8bdc
commit 0fc36d3bc9

View File

@ -10,7 +10,7 @@
Name: python-six Name: python-six
Version: 1.7.3 Version: 1.7.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Python 2 and 3 compatibility utilities Summary: Python 2 and 3 compatibility utilities
Group: Development/Languages Group: Development/Languages
@ -83,17 +83,24 @@ popd
%files %files
%doc LICENSE README documentation/index.rst %{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README documentation/index.rst
%{python_sitelib}/* %{python_sitelib}/*
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-six %files -n python3-six
%doc LICENSE README documentation/index.rst %{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README documentation/index.rst
%{python3_sitelib}/* %{python3_sitelib}/*
%endif %endif
%changelog %changelog
* Sun Aug 3 2014 Tom Callaway <spot@fedoraproject.org> - 1.7.3-2
- fix license handling
* Thu Jul 31 2014 Pádraig Brady <pbrady@redhat.com> - 1.7.3-1 * Thu Jul 31 2014 Pádraig Brady <pbrady@redhat.com> - 1.7.3-1
- Latest upstream - Latest upstream