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:
parent
d16c9fd5e3
commit
e1790cd974
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:19427a974a849af860f534833913d9061cc6e7b032bb2a236552646ff3d7a699
|
oid sha256:35ffccf3f9462272960ac538b92d7e3d2f776315ceceaff1244a1bda6192145e
|
||||||
size 248912
|
size 361684
|
||||||
|
17
ipset.spec
17
ipset.spec
@ -100,26 +100,25 @@ when matching an entry against a set.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
#if [ ! -e configure ]; then
|
||||||
./autogen.sh;
|
# ./autogen.sh;
|
||||||
fi;
|
#fi;
|
||||||
pushd ../;
|
|
||||||
for flavor in %flavors_to_build; do
|
for flavor in %flavors_to_build; do
|
||||||
cp -a "%name-%version" "%name-$flavor-%version";
|
cp -a . "../%name-$flavor-%version";
|
||||||
pushd "%name-$flavor-%version/";
|
pushd "../%name-$flavor-%version/";
|
||||||
# ksource: it just checks for a header
|
# ksource: it just checks for a header
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-kbuild="/usr/src/linux-obj/%_target_cpu/$flavor" \
|
--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;
|
make %{?_smp_mflags} all modules;
|
||||||
popd;
|
popd;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b="%buildroot";
|
||||||
pushd ../;
|
|
||||||
for flavor in %flavors_to_build; do
|
for flavor in %flavors_to_build; do
|
||||||
pushd "%name-$flavor-%version/";
|
pushd "../%name-$flavor-%version/";
|
||||||
make %{?_smp_mflags} install modules_install \
|
make %{?_smp_mflags} install modules_install \
|
||||||
DESTDIR="$b" INSTALL_MOD_PATH="$b";
|
DESTDIR="$b" INSTALL_MOD_PATH="$b";
|
||||||
popd;
|
popd;
|
||||||
|
Loading…
Reference in New Issue
Block a user