Accepting request 1104975 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1104975 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=82
This commit is contained in:
commit
d0d84037fa
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 16 13:58:09 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- xznew: Remove bashsism.
|
||||||
|
- build: pass CONFIG_SHELL=/bin/sh to configure: the posix tools
|
||||||
|
are setting the current SHELL as the shebang, which is overkill:
|
||||||
|
any posix compliant shell, aka /bin/sh, is sufficient.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 3 07:01:39 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
Thu Aug 3 07:01:39 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
2
xz.spec
2
xz.spec
@ -83,7 +83,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
|||||||
%configure \
|
%configure \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--disable-static
|
--disable-static CONFIG_SHELL=/bin/sh
|
||||||
%if 0%{?do_profiling}
|
%if 0%{?do_profiling}
|
||||||
%make_build CFLAGS="${CFLAGS} %{cflags_profile_generate}"
|
%make_build CFLAGS="${CFLAGS} %{cflags_profile_generate}"
|
||||||
%make_build
|
%make_build
|
||||||
|
2
xznew
2
xznew
@ -52,7 +52,7 @@ if test -z "$cpmod" && ${TOUCH-touch} -r $tmp/1 $tmp/2 2>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# check about xz extension
|
# check about xz extension
|
||||||
xz $tmp/1 &> /dev/null
|
xz $tmp/1 > /dev/null 2>&1
|
||||||
ext=`echo $tmp/1* | sed "s|$tmp/1||"`
|
ext=`echo $tmp/1* | sed "s|$tmp/1||"`
|
||||||
rm -rf $tmp/
|
rm -rf $tmp/
|
||||||
trap - 0 1 2 3 6 13 15
|
trap - 0 1 2 3 6 13 15
|
||||||
|
Loading…
Reference in New Issue
Block a user