Add %%licence macro

This commit is contained in:
William Moreno Reyes 2014-12-06 20:53:24 -06:00
commit d6837b8623

View file

@ -9,7 +9,7 @@
Name: python-%{pypi_name}
Version: 0.4.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Wkhtmltopdf python wrapper
Group: Development/Libraries
@ -75,18 +75,22 @@ popd
%endif # with_python3
%files
%license LICENSE
%doc README.rst LICENSE HISTORY.rst
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%doc README.rst LICENSE HISTORY.rst
%license LICENSE
%doc README.rst HISTORY.rst
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%endif # with_python3
%changelog
* Sun Dec 07 2014 William José Moreno Reyes <williamjmorenor@gmail.com> - 0.4.1-6
- Add %%licence macro
* Sun Oct 19 2014 William José Moreno Reyes <williamjmorenor at gmail.com> - 0.4.1-5
- Fix Python3 dependency