diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-03-29 06:55:16 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-03-29 06:55:16 -0700 |
commit | b6cc5d1ef2c37b640a0fe40a28745e15f36465e3 (patch) | |
tree | cbfa47d08a4ec74315f937f3c2c6ddd5a7af894c /packaging/kmod.spec | |
parent | 31c7f1c01bb24202a52c3eb89c56ce4390704da7 (diff) | |
download | kmod-b6cc5d1ef2c37b640a0fe40a28745e15f36465e3.tar.gz kmod-b6cc5d1ef2c37b640a0fe40a28745e15f36465e3.tar.bz2 kmod-b6cc5d1ef2c37b640a0fe40a28745e15f36465e3.zip |
compat requires main packagesubmit/trunk/20130329.135518submit/tizen/20130517.022857submit/tizen/20130509.180628submit/tizen/20130503.222904accepted/trunk/20130329.140429accepted/tizen/20130520.095646accepted/tizen/20130503.222647
Diffstat (limited to 'packaging/kmod.spec')
-rw-r--r-- | packaging/kmod.spec | 16 |
1 files changed, 8 insertions, 8 deletions
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* |