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:
Jan Engelhardt 2014-09-23 23:39:25 +00:00 committed by Git OBS Bridge
parent 0880198cc2
commit 8308a9030b

View File

@ -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