diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-03-29 06:55:16 -0700 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-03 16:58:55 +0100 |
commit | 305049f9edf23972ec52c082d8f3db62c58e17f9 (patch) | |
tree | 59c78a41677dc37bf0342949fb8458188c65c65c | |
parent | 4bd2e84b9e21e7d7bcb2197965ed8b29f063d1a1 (diff) | |
download | kmod-305049f9edf23972ec52c082d8f3db62c58e17f9.tar.gz kmod-305049f9edf23972ec52c082d8f3db62c58e17f9.tar.bz2 kmod-305049f9edf23972ec52c082d8f3db62c58e17f9.zip |
compat requires main package
-rw-r--r-- | packaging/kmod.changes | 3 | ||||
-rw-r--r-- | packaging/kmod.spec | 16 |
2 files changed, 11 insertions, 8 deletions
diff --git a/packaging/kmod.changes b/packaging/kmod.changes index 8ab6663..4d614da 100644 --- a/packaging/kmod.changes +++ b/packaging/kmod.changes @@ -1,3 +1,6 @@ +* Fri Mar 29 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130322.175427@31c7f1c +- compat requires main package + * Fri Mar 22 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130318.205410@9d87275 - Fixed package groups diff --git a/packaging/kmod.spec b/packaging/kmod.spec index 5020a2d..268b031 100644 --- a/packaging/kmod.spec +++ b/packaging/kmod.spec @@ -2,7 +2,6 @@ Name: kmod Version: 12 Release: 0 License: LGPL-2.1+ and GPL-2.0+ -%define lname libkmod Summary: Utilities to load modules into the kernel Url: http://www.politreco.com/2011/12/announce-kmod-2/ Group: Base/Libraries @@ -29,6 +28,7 @@ indexes from module-init-tools project. License: GPL-2.0+ Summary: Compat symlinks for kernel module utilities Group: Base/Libraries +Requires: kmod Requires(pre): filesystem Provides: module-init-tools @@ -39,12 +39,12 @@ dependencies and aliases. This package contains traditional name symlinks (lsmod, etc.) -%package -n %lname +%package -n libkmod License: LGPL-2.1+ Summary: Library to interact with Linux kernel modules Group: Base/Libraries -%description -n %lname +%description -n libkmod libkmod was created to allow programs to easily insert, remove and list modules, also checking its properties, dependencies and aliases. @@ -52,14 +52,14 @@ list modules, also checking its properties, dependencies and aliases. License: LGPL-2.1+ Summary: Development files for libkmod Group: Development/Libraries -Requires: %lname = %{version} +Requires: libkmod = %{version} %description -n libkmod-devel libkmod was created to allow programs to easily insert, remove and list modules, also checking its properties, dependencies and aliases. This package contains the development headers for the library found -in %lname. +in libkmod. %prep %setup -q @@ -91,9 +91,9 @@ for i in depmod insmod lsmod modinfo modprobe rmmod; do done; -%post -n %lname -p /sbin/ldconfig +%post -n libkmod -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%postun -n libkmod -p /sbin/ldconfig %docs_package @@ -102,7 +102,7 @@ done; %license COPYING %{_bindir}/kmod -%files -n %lname +%files -n libkmod %defattr(-,root,root) %{_libdir}/libkmod.so.2* |