Accepting request 568741 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/568741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyudev?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2018-01-26 12:37:33 +00:00 committed by Git OBS Bridge
commit 5aef7b9856
2 changed files with 12 additions and 5 deletions

View File

@ -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

View File

@ -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}