packaging: remove the explicit requires on kmod-libs
The main kmod package requires kmod-libs, via the "Requires: %{name}-libs%{?_isa} = %{version}-%{release}" line in kmod.spec. This is not actually necessary: /bin/kmod statically links to libkmod (which is all that's in kmod-libs), and besides, if it was dynamically linked rpm would generate the dependency automatically. kmod-devel, on the other hand, should require kmod-libs instead of the main kmod package. (credits for the text to David Shea) Resolves: rhbz#1208554. Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
This commit is contained in:
parent
af396dff73
commit
8cee70af20
@ -1,6 +1,6 @@
|
||||
Name: kmod
|
||||
Version: 23
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Linux kernel module management utilities
|
||||
|
||||
Group: System Environment/Kernel
|
||||
@ -17,8 +17,6 @@ BuildRequires: zlib-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: libxslt
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
Provides: module-init-tools = 4.0-1
|
||||
Obsoletes: module-init-tools < 4.0-1
|
||||
Provides: /sbin/modprobe
|
||||
@ -41,7 +39,7 @@ wishes to load or unload Linux kernel modules from the running system.
|
||||
%package devel
|
||||
Summary: Header files for kmod development
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The kmod-devel package provides header files used for development of
|
||||
|
Loading…
Reference in New Issue
Block a user