fix license handling

This commit is contained in:
Tom Callaway 2014-07-31 11:17:56 -04:00
parent a8aa950ee6
commit a3958cfc29

View File

@ -9,7 +9,7 @@
Name: python-%{pypi_name}
Version: 1.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Resolve JSON Pointers in Python
License: BSD
@ -67,19 +67,26 @@ popd
%{__python} tests.py
%files
%doc README.md COPYING AUTHORS
%doc README.md AUTHORS
%{!?_licensedir:%global license %%doc}
%license COPYING
%{python_sitelib}/%{pypi_name}.py*
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%doc README.md COPYING AUTHORS
%doc README.md AUTHORS
%{!?_licensedir:%global license %%doc}
%license COPYING
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}.py*
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%endif
%changelog
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 1.0-6
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild