Deptracking currently needed due to broken makefile

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ipset?expand=0&rev=10
This commit is contained in:
Jan Engelhardt 2012-05-10 17:33:06 +00:00 committed by Git OBS Bridge
parent d16c9fd5e3
commit e1790cd974
2 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19427a974a849af860f534833913d9061cc6e7b032bb2a236552646ff3d7a699
size 248912
oid sha256:35ffccf3f9462272960ac538b92d7e3d2f776315ceceaff1244a1bda6192145e
size 361684

View File

@ -100,26 +100,25 @@ when matching an entry against a set.
%setup -q
%build
if [ ! -e configure ]; then
./autogen.sh;
fi;
pushd ../;
#if [ ! -e configure ]; then
# ./autogen.sh;
#fi;
for flavor in %flavors_to_build; do
cp -a "%name-%version" "%name-$flavor-%version";
pushd "%name-$flavor-%version/";
cp -a . "../%name-$flavor-%version";
pushd "../%name-$flavor-%version/";
# ksource: it just checks for a header
%configure --disable-static \
--with-kbuild="/usr/src/linux-obj/%_target_cpu/$flavor" \
--with-ksource="/usr/src/linux";
--with-ksource="/usr/src/linux" \
--enable-dependency-tracking;
make %{?_smp_mflags} all modules;
popd;
done;
%install
b="%buildroot";
pushd ../;
for flavor in %flavors_to_build; do
pushd "%name-$flavor-%version/";
pushd "../%name-$flavor-%version/";
make %{?_smp_mflags} install modules_install \
DESTDIR="$b" INSTALL_MOD_PATH="$b";
popd;