* libkmod-util: add missing stdbool.h include
- Don't assert mkdir_p, it fails on 32bit systems. add: dont-assert-mkdir_p.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=31
This commit is contained in:
committed by
Git OBS Bridge
parent
2aef4e0d72
commit
87a9c849bd
@@ -30,6 +30,7 @@ Url: http://www.politreco.com/2011/12/announce-kmod-2/
|
||||
Source: %name-%version.tar.xz
|
||||
Source2: %name-%version.tar.sign
|
||||
Patch1: kmod-so-version.diff
|
||||
Patch2: dont-assert-mkdir_p.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
@@ -87,6 +88,7 @@ in %lname.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@@ -97,7 +99,7 @@ autoreconf -fi
|
||||
--with-zlib \
|
||||
--includedir=%_includedir/%{name}-%{version} \
|
||||
--with-rootlibdir=%{_libdir} \
|
||||
--bindir=%{_bindir}
|
||||
--bindir=%{_bindir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@@ -130,6 +132,8 @@ make check
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/kmod
|
||||
|
Reference in New Issue
Block a user