Move out of /pkg/
OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=82
This commit is contained in:
parent
5b03aad3c6
commit
83e01a9446
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 16 20:54:36 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Move include files out of pkg/ into a normal subdir of includedir.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 16 18:22:37 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -41,7 +41,7 @@ BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: xz
|
||||
%if 0%{?sles_version}
|
||||
%if 0%{?sles_version} == 11
|
||||
BuildRequires: xz-devel >= 4.99
|
||||
BuildRequires: zlib-devel
|
||||
%else
|
||||
@ -107,12 +107,12 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
# The extra --includedir gives us the possibility to detect dependent
|
||||
# packages which fail to properly use pkgconfig.
|
||||
%configure \
|
||||
%if 0%{?sles_version}
|
||||
%if 0%{?sles_version} == 11
|
||||
zlib_CFLAGS=" " zlib_LIBS="-lz" \
|
||||
%endif
|
||||
--with-xz \
|
||||
--with-zlib \
|
||||
--includedir="%_includedir/pkg/%name" \
|
||||
--includedir="%_includedir/%name" \
|
||||
--with-rootlibdir="%_libdir" \
|
||||
--bindir="%_bindir"
|
||||
make %{?_smp_mflags} V=1
|
||||
|
Loading…
Reference in New Issue
Block a user