SHA256
1
0
forked from pool/gzip

Accepting request 482496 from home:kstreitova:branches:Base:System

- cleanup with spec-cleaner
- use loop with a range instead of a number list

OBS-URL: https://build.opensuse.org/request/show/482496
OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=46
This commit is contained in:
Kristyna Streitova 2017-03-27 14:11:40 +00:00 committed by Git OBS Bridge
parent 18825f6905
commit a01b43378e
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