diff --git a/python-pyudev.spec b/python-pyudev.spec index bc82455..97fd837 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -24,28 +24,28 @@ Release: 0 Summary: Udev bindings for Python License: LGPL-2.1-or-later Group: Development/Libraries/Python -Url: http://pyudev.readthedocs.org/ +URL: http://pyudev.readthedocs.org/ Source0: https://files.pythonhosted.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libudev) +Requires: libudev1 +Requires: python-six +BuildArch: noarch %if %{with test} BuildRequires: %{python_module docutils} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} %endif -Requires: libudev1 -Requires: python-six %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version} Obsoletes: pyudev < %{version} %endif -BuildArch: noarch - %python_subpackages %description @@ -70,8 +70,8 @@ sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker', %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYING README.rst +%license COPYING +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog