Accepting request 720450 from home:marxin:branches:security:netfilter

- Use %make_build.

OBS-URL: https://build.opensuse.org/request/show/720450
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=176
This commit is contained in:
Jan Engelhardt 2019-08-11 12:27:44 +00:00 committed by Git OBS Bridge
parent 556b55d930
commit 4b78940744
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 07:02:32 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use %make_build.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 18 07:39:53 UTC 2019 - Michal Kubeček <mkubecek@suse.cz> Thu Jul 18 07:39:53 UTC 2019 - Michal Kubeček <mkubecek@suse.cz>

View File

@ -101,7 +101,7 @@ find . -name *.orig -delete
# https://bugzilla.novell.com/show_bug.cgi?id=388021 # https://bugzilla.novell.com/show_bug.cgi?id=388021
xt_libdir="$(pkg-config xtables --variable=xtlibdir)" xt_libdir="$(pkg-config xtables --variable=xtlibdir)"
xt_cflags="$(pkg-config xtables --cflags)" xt_cflags="$(pkg-config xtables --cflags)"
make %{?_smp_mflags} CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags" %make_build CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
%install %install
b="%buildroot" b="%buildroot"