forked from pool/python-pyudev
Accepting request 568738 from home:tbechtold:branches:devel:languages:python
- Require libudev (bsc#1077282) Otherwise, an pyudev import fails with: ImportError: No library named udev OBS-URL: https://build.opensuse.org/request/show/568738 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=26
This commit is contained in:
committed by
Git OBS Bridge
parent
81e3c35d26
commit
3e60d10699
@@ -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
|
Thu Aug 24 13:52:57 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyudev
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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 setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libudev-devel
|
|
||||||
BuildRequires: libudev1
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: pkgconfig(libudev)
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module docutils}
|
BuildRequires: %{python_module docutils}
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module py}
|
BuildRequires: %{python_module py}
|
||||||
%endif
|
%endif
|
||||||
Requires: udev
|
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
|
Requires: udev
|
||||||
|
Requires: pkgconfig(libudev)
|
||||||
%ifpython2
|
%ifpython2
|
||||||
# pyudev was last used in KDE:Unstable:Playground (pyudev-0.8)
|
# pyudev was last used in KDE:Unstable:Playground (pyudev-0.8)
|
||||||
Provides: pyudev = %{version}
|
Provides: pyudev = %{version}
|
||||||
|
Reference in New Issue
Block a user