Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
cb952e1c89 |
@@ -1,11 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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 for package python-libevdev
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2022 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 %{_prefix}/lib*/libevdev.so))
|
||||
%define libmodule %(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libevdev.so))
|
||||
Requires: %{libmodule} >= %{libevdev_reqver}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
Reference in New Issue
Block a user