Avoid version in /usr/include/pkg
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ipset?expand=0&rev=42
This commit is contained in:
parent
0880198cc2
commit
8308a9030b
@ -112,13 +112,13 @@ for flavor in %flavors_to_build; do
|
||||
%configure --disable-static \
|
||||
--with-kbuild="/usr/src/linux-obj/%_target_cpu/$flavor" \
|
||||
--with-ksource="/usr/src/linux" \
|
||||
--includedir="%_includedir/pkg/%name-%version"
|
||||
--includedir="%_includedir/pkg/%name"
|
||||
make %{?_smp_mflags} all modules;
|
||||
popd;
|
||||
done;
|
||||
%else
|
||||
%configure --disable-static --with-kmod=no \
|
||||
--includedir="%_includedir/pkg/%name-%version"
|
||||
--includedir="%_includedir/pkg/%name"
|
||||
make %{?_smp_mflags};
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user