diff --git a/python-pyudev.changes b/python-pyudev.changes index 557ac96..ca7b367 100644 --- a/python-pyudev.changes +++ b/python-pyudev.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 23 17:35:31 UTC 2018 - tbechtold@suse.com + +- Require libudev (bsc#1077282) + Otherwise, an pyudev import fails with: + ImportError: No library named udev + ------------------------------------------------------------------- Thu Aug 24 13:52:57 UTC 2017 - jmatejek@suse.com diff --git a/python-pyudev.spec b/python-pyudev.spec index c283c8d..bf84d76 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyudev # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,19 +30,19 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: libudev-devel -BuildRequires: libudev1 BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libudev) %if %{with test} BuildRequires: %{python_module docutils} -BuildRequires: %{python_module mock} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} %endif -Requires: udev Requires: python-six +Requires: udev +Requires: pkgconfig(libudev) %ifpython2 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8) Provides: pyudev = %{version}