From e1790cd9743698ac7d9751ef627a09c7c88978f706c4a830f75a91d3c2fb78d8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 10 May 2012 17:33:06 +0000 Subject: [PATCH] Deptracking currently needed due to broken makefile OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ipset?expand=0&rev=10 --- ipset-6.12.tar.xz | 4 ++-- ipset.spec | 17 ++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ipset-6.12.tar.xz b/ipset-6.12.tar.xz index 1f23ec5..6dead8c 100644 --- a/ipset-6.12.tar.xz +++ b/ipset-6.12.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:19427a974a849af860f534833913d9061cc6e7b032bb2a236552646ff3d7a699 -size 248912 +oid sha256:35ffccf3f9462272960ac538b92d7e3d2f776315ceceaff1244a1bda6192145e +size 361684 diff --git a/ipset.spec b/ipset.spec index 1d82f9f..d3ba0a2 100644 --- a/ipset.spec +++ b/ipset.spec @@ -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;