From ae471539e60bf373b0def7b36f6a819d09f5f1b3 Mon Sep 17 00:00:00 2001 From: William Moreno Date: May 14 2015 15:12:36 +0000 Subject: Define License Macro --- diff --git a/python-pdfkit.spec b/python-pdfkit.spec index 0e99187..1fe2b93 100644 --- a/python-pdfkit.spec +++ b/python-pdfkit.spec @@ -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 +- 0.4.1-7 +- Define %%license macro for el6 + * Sun Dec 07 2014 William José Moreno Reyes - 0.4.1-6 - Add %%licence macro