- Fix shadow-login_defs-check.sh:
In the last update we switched from calling make to %make_build macro. Using sed to adapt the spec file now. OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=108
This commit is contained in:
parent
c8f7c173d8
commit
8f871cae62
@ -66,13 +66,7 @@ if ! test -f shadow-login_defs-check-build/stamp ; then
|
||||
# In case of shadow, variables extraction is more complicated. The list
|
||||
# depends on configure options, so we have to perform a fake build and
|
||||
# extract variables from prepreocessed sources.
|
||||
patch <<EOF
|
||||
--- shadow.spec
|
||||
+++ shadow.spec
|
||||
@@ -133,1 +133,1 @@
|
||||
-make %{?_smp_mflags} V=1
|
||||
+make %{?_smp_mflags} V=1 -k CPPFLAGS="-E"
|
||||
EOF
|
||||
sed -i '/^%make_build/i\_smp_mpflags="%{?_smp_mpflags} -k CPPFLAGS=\\"-E\\""' shadow.spec
|
||||
fi
|
||||
|
||||
osc build "$@" || :
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 15:08:19 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Fix shadow-login_defs-check.sh:
|
||||
In the last update we switched from calling make to %make_build
|
||||
macro. Using sed to adapt the spec file now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 18 15:17:52 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user