Accepting request 114354 from home:rmilasan:branches:Base:System
- Update to new upstream release 7 * build-sys: don't set CFLAGS and LDFLAGS. * build-sys: re-organize configure.ac. * configure.ac: Move link only flags out of CFLAGS and into LDFLAGS. * Add CC_CHECK_LDFLAGS_APPEND m4 macro. * config: use order /etc, /run, /lib. * modprobe: set log prio to 0 if user passed -q arg. * modprobe: always try to remove all modules in command line. * modprobe: don't check if module builtin to decide if it's builtin. * modprobe: fix error path in removing modules. OBS-URL: https://build.opensuse.org/request/show/114354 OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
4b49bf8edf
commit
1a452c544f
23
kmod.spec
23
kmod.spec
@@ -21,14 +21,11 @@ Name: kmod
|
||||
Summary: Utilities to load modules into the kernel
|
||||
License: LGPL-2.1+ and GPL-2.0+
|
||||
Group: System/Kernel
|
||||
Version: 6
|
||||
Version: 7
|
||||
Release: 0
|
||||
Url: http://www.politreco.com/2011/12/announce-kmod-2/
|
||||
|
||||
#Git-Web: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
|
||||
Source: %name-%version.tar.xz
|
||||
Source2: %name-%version.tar.sign
|
||||
Url: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/kernel/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: ftp://ftp.kernel.org/pub/linux/utils/kernel/%{name}/%{name}-%{version}.tar.sign
|
||||
Patch1: kmod-so-version.diff
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -75,7 +72,7 @@ list modules, also checking its properties, dependencies and aliases.
|
||||
Summary: Development files for libkmod
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Requires: %lname = %{version}
|
||||
|
||||
%description -n libkmod-devel
|
||||
libkmod was created to allow programs to easily insert, remove and
|
||||
@@ -89,11 +86,15 @@ in %lname.
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi;
|
||||
autoreconf -fi
|
||||
# The extra --includedir gives us the possibility to detect dependent
|
||||
# packages which fail to properly use pkgconfig.
|
||||
%configure --with-xz --with-zlib --includedir=%_includedir/%name-%version \
|
||||
--with-rootlibdir=%{_libdir} --bindir=%{_bindir}
|
||||
%configure \
|
||||
--with-xz \
|
||||
--with-zlib \
|
||||
--includedir=%_includedir/%{name}-%{version} \
|
||||
--with-rootlibdir=%{_libdir} \
|
||||
--bindir=%{_bindir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user