Accepting request 482898 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/482898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzip?expand=0&rev=42
This commit is contained in:
Ludwig Nussel 2017-04-03 09:04:32 +00:00 committed by Git OBS Bridge
commit 4bb1c44c97
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 23 15:14:56 UTC 2017 - kstreitova@suse.com
- cleanup with spec-cleaner
- use loop with a range instead of a number list
-------------------------------------------------------------------
Wed Apr 27 10:14:03 UTC 2016 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gzip
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -79,7 +79,7 @@ make %{?_smp_mflags} LDFLAGS="-pie"
%endif
%check
for i in 1 2 3 4 5 6 7 8 9; do
for i in {1..9}; do
for f in build-aux/texinfo.tex /bin/bash; do
basef=${f##*/}
time ./gzip -$i < $f > $basef.gz
@ -90,7 +90,7 @@ for i in 1 2 3 4 5 6 7 8 9; do
done
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%make_install
#UsrMerge
mkdir -p %{buildroot}/bin
ln -sf %{_bindir}/gzip %{_bindir}/gunzip %{_bindir}/zcat %{buildroot}/bin