SLES build
OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=49
This commit is contained in:
parent
6723e26bc5
commit
6f4127f4d9
@ -38,8 +38,13 @@ BuildRequires: libxslt
|
||||
%endif
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: xz
|
||||
%if 0%{?sles_version}
|
||||
BuildRequires: xz-devel >= 4.99
|
||||
BuildRequires: zlib-devel
|
||||
%else
|
||||
BuildRequires: pkgconfig(liblzma) >= 4.99
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%endif
|
||||
Requires: suse-module-tools
|
||||
|
||||
%description
|
||||
@ -95,6 +100,9 @@ in %lname.
|
||||
# The extra --includedir gives us the possibility to detect dependent
|
||||
# packages which fail to properly use pkgconfig.
|
||||
%configure \
|
||||
%if 0%{?sles_version}
|
||||
zlib_CFLAGS=" " zlib_LIBS="-lz" \
|
||||
%endif
|
||||
--with-xz \
|
||||
--with-zlib \
|
||||
--includedir="%_includedir/%name-%version" \
|
||||
|
Loading…
Reference in New Issue
Block a user