Accepting request 1104202 from home:dimstar:Factory
- export CONFIG_SHELL=/bin/sh before running configure: results in the shell script (zcat/zgrep/…) to receive a /bin/sh shebang instead of requiring bash (the local shell used to build). - Use for i in $(seq 1 9) instead of bashism for in in {1..9}, and drop buildshell definition to require bash. OBS-URL: https://build.opensuse.org/request/show/1104202 OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=93
This commit is contained in:
parent
80cf0a7a72
commit
399fed0afa
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 14:52:39 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- export CONFIG_SHELL=/bin/sh before running configure: results in
|
||||
the shell script (zcat/zgrep/…) to receive a /bin/sh shebang
|
||||
instead of requiring bash (the local shell used to build).
|
||||
- Use for i in $(seq 1 9) instead of bashism for in in {1..9}, and
|
||||
drop buildshell definition to require bash.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 12:26:05 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define _buildshell /bin/bash
|
||||
Name: gzip
|
||||
Version: 1.12
|
||||
Release: 0
|
||||
@ -70,6 +69,7 @@ export CFLAGS="$CFLAGS -DDFLTCC_LEVEL_MASK=0x7e"
|
||||
# Avoid text relocations on i386 as the assembler code (in
|
||||
# lib/match.c) is not prepared for PIE (bsc#1143125).
|
||||
export DEFS=NO_ASM
|
||||
export CONFIG_SHELL=/bin/sh
|
||||
%configure --disable-silent-rules \
|
||||
gl_cv_func_printf_directive_n=yes \
|
||||
gl_cv_func_printf_infinite_long_double=yes \
|
||||
@ -95,7 +95,7 @@ profile_gzip
|
||||
%endif
|
||||
|
||||
%check
|
||||
for i in {1..9}; do
|
||||
for i in $(seq 1 9); do
|
||||
for f in build-aux/texinfo.tex /bin/bash; do
|
||||
basef=${f##*/}
|
||||
time ./gzip -$i < $f > $basef.gz
|
||||
|
Loading…
Reference in New Issue
Block a user