Sync from SUSE:SLFO:Main python-libevdev revision 8e8e770b436f4fafe8e0ef2999a7437a
This commit is contained in:
parent
5d7e1ffc22
commit
49dbe5e029
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 13:13:38 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Avoid usage of %{_libdir}: a noarch package cannot rely on libdir
|
||||
pointing to arch-specific packages. TWeak using
|
||||
%{_prefix}/lib*/libevdev.so to find the correct library package
|
||||
%name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 24 10:52:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-libevdev
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -33,7 +33,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libevdev-devel >= %{libevdev_reqver}
|
||||
BuildRequires: python-rpm-macros
|
||||
%define libmodule %(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libevdev.so))
|
||||
%define libmodule %(rpm -q --qf "%%{name}" -f $(readlink -f %{_prefix}/lib*/libevdev.so))
|
||||
Requires: %{libmodule} >= %{libevdev_reqver}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
Loading…
x
Reference in New Issue
Block a user