From a01b43378ea55a9caee12fb6c48baaf1bace46ed610ba977eaffcf9fd1960a60 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Mon, 27 Mar 2017 14:11:40 +0000 Subject: [PATCH] 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 --- gzip.changes | 6 ++++++ gzip.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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