Define License Macro
This commit is contained in:
parent
d6837b8623
commit
ae471539e6
1 changed files with 7 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.4.1
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Wkhtmltopdf python wrapper
|
||||
|
||||
Group: Development/Libraries
|
||||
|
|
@ -75,6 +75,7 @@ popd
|
|||
%endif # with_python3
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%doc README.rst LICENSE HISTORY.rst
|
||||
%{python2_sitelib}/%{pypi_name}
|
||||
|
|
@ -82,6 +83,7 @@ popd
|
|||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-%{pypi_name}
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%doc README.rst HISTORY.rst
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
|
|
@ -89,6 +91,10 @@ popd
|
|||
%endif # with_python3
|
||||
|
||||
%changelog
|
||||
* Thu May 14 2015 Fedora <williamjmorenor@gmail.com>
|
||||
- 0.4.1-7
|
||||
- Define %%license macro for el6
|
||||
|
||||
* Sun Dec 07 2014 William José Moreno Reyes <williamjmorenor@gmail.com> - 0.4.1-6
|
||||
- Add %%licence macro
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue