From 07547e74096b1d19982fd1cbe990d3d9d87e2efe Mon Sep 17 00:00:00 2001 From: David Shea Date: Jan 28 2015 21:28:18 +0000 Subject: Use %license for the license file --- diff --git a/python-diff-cover.spec b/python-diff-cover.spec index 3f82962..914bcca 100644 --- a/python-diff-cover.spec +++ b/python-diff-cover.spec @@ -1,6 +1,6 @@ Name: python-diff-cover Version: 0.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatically find diff lines that need test coverage License: AGPLv3 @@ -118,7 +118,8 @@ nosetests -v %{__python3} -m nose %files -%doc AUTHORS LICENSE README.rst +%license LICENSE +%doc AUTHORS README.rst %{_bindir}/diff-cover %{_bindir}/diff-quality %{_mandir}/man1/diff-cover.1* @@ -127,11 +128,15 @@ nosetests -v %{python2_sitelib}/diff_cover-%{version}-*.egg-info %files -n python3-diff-cover -%doc AUTHORS LICENSE README.rst +%license LICENSE +%doc AUTHORS README.rst %{python3_sitelib}/diff_cover %{python3_sitelib}/diff_cover-%{version}-*.egg-info %changelog +* Wed Jan 28 2014 David Shea - 0.7.2-2 +- Use %license for the license file + * Fri Nov 7 2014 David Shea - 0.7.2-1 - bugfix around prasing of options - enable nosetests in spec file