From: Elan Ruusamäe Date: Sat, 18 Jun 2005 10:08:06 +0000 (+0000) Subject: - bconded progressbar patch, outputs in some conditions uneccessary message when... X-Git-Tag: auto/ac/bzip2-1_0_2-17~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbzip2.git;a=commitdiff_plain;h=c4236b741aa3cb254793230a50efd0bc5c9eab21 - bconded progressbar patch, outputs in some conditions uneccessary message when decopressing: "progress will only be shown when compressing files." Changed files: bzip2.spec -> 1.94 --- diff --git a/bzip2.spec b/bzip2.spec index a7a5047..d1df5fe 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -1,3 +1,6 @@ +# Conditional build: +%bcond_with progress # with progressbar patch +# Summary: Extremely powerful file compression utility Summary(es): Un compresor de archivos con un nuevo algoritmo Summary(fr): Utilitaire de compression de fichier extrêmement puissant @@ -7,7 +10,7 @@ Summary(uk): Summary(ru): ëÏÍÐÒÅÓÓÏÒ ÆÁÊÌÏ× ÎÁ ÏÓÎÏ×Å ÁÌÇÏÒÉÔÍÁ ÂÌÏÞÎÏÊ ÓÏÒÔÉÒÏ×ËÉ Name: bzip2 Version: 1.0.2 -Release: 16.2 +Release: 16.3 Epoch: 0 License: BSD-like Group: Applications/Archiving @@ -162,7 +165,7 @@ Bibliotecas est %prep %setup -q %patch0 -p1 -%patch1 -p1 +%{?with_progress:%patch1 -p1} %build %{__aclocal}