diff --git a/gzip.changes b/gzip.changes index 4ded361..6a94bdd 100644 --- a/gzip.changes +++ b/gzip.changes @@ -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 diff --git a/gzip.spec b/gzip.spec index 5b5e7d2..f3c2467 100644 --- a/gzip.spec +++ b/gzip.spec @@ -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