diff --git a/python-nine.spec b/python-nine.spec index 9b1f992..e8451a9 100644 --- a/python-nine.spec +++ b/python-nine.spec @@ -113,6 +113,7 @@ popd %files %doc README.rst porting.rst +%{!?_licensedir:%global license %%doc} %license LICENSE.rst %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{modname}-%{version}* @@ -120,6 +121,7 @@ popd %if 0%{?with_python3} %files -n python3-nine %doc README.rst porting.rst +%{!?_licensedir:%global license %%doc} %license LICENSE.rst %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}* @@ -129,6 +131,7 @@ popd %changelog * Mon Jan 12 2015 Ralph Bean - 0.3.4-3 - Require python-importlib on el6. +- Specify license macro for el6. * Sat Jan 10 2015 Ralph Bean - 0.3.4-2 - Declare noarch.