From ae831498840afc2e7d2163e224c5c945e7887126 Mon Sep 17 00:00:00 2001 From: David Shea Date: Wed, 28 Jan 2015 16:41:43 -0500 Subject: [PATCH] Use %license for the license file --- python-pyudev.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-pyudev.spec b/python-pyudev.spec index 17be93c..5ce2a9c 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -1,6 +1,6 @@ Name: python-pyudev Version: 0.16.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A libudev binding License: LGPLv2+ @@ -62,16 +62,21 @@ cp -a . %{py3dir} ( cd %{py3dir} && %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT ) %files -%doc COPYING README.rst CHANGES.rst +%license COPYING +%doc README.rst CHANGES.rst %{python2_sitelib}/pyudev %{python2_sitelib}/pyudev-%{version}-*.egg-info %files -n python3-pyudev -%doc COPYING README.rst CHANGES.rst +%license COPYING +%doc README.rst CHANGES.rst %{python3_sitelib}/pyudev %{python3_sitelib}/pyudev-%{version}-*.egg-info %changelog +* Wed Jan 28 2015 David Shea - 0.16-2 +- Use %%license for the license file + * Wed Dec 10 2014 David Shea - 0.16-1 - Update to pyudev-0.16.1 (#880644) - Apply a patch from upstream to remove a global reference to libudev (#1170337)