From a5a3f60cba5c9f4a0ff43060ab3fda9c80be9bb8122f162fe5004ed3cd62d848 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 3 Nov 2008 13:19:35 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quilt?expand=0&rev=20 --- quilt-improve-formail-error.diff | 2 +- quilt.changes | 6 ++++++ quilt.spec | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/quilt-improve-formail-error.diff b/quilt-improve-formail-error.diff index 8fef38c..6890aef 100644 --- a/quilt-improve-formail-error.diff +++ b/quilt-improve-formail-error.diff @@ -20,7 +20,7 @@ Signed-off-by: Bernhard Walle fi +# check if formail is installed before doing anything -+if ! which formail &> /dev/null ++if ! type formail &> /dev/null +then + echo "You have to install 'formail' to use 'quilt mail'" >&2 + exit 1 diff --git a/quilt.changes b/quilt.changes index f2a3619..f5199ca 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 28 13:33:44 CET 2008 - bwalle@suse.de + +- Use 'type' instead of 'which' in last change to avoid dependency + of 'which' package. + ------------------------------------------------------------------- Mon Oct 27 22:36:14 CET 2008 - bwalle@suse.de diff --git a/quilt.spec b/quilt.spec index 3bfb37a..58343e8 100644 --- a/quilt.spec +++ b/quilt.spec @@ -24,7 +24,7 @@ Summary: A Tool for Working with Many Patches License: GPL v2 or later Group: Productivity/Text/Utilities Version: 0.47 -Release: 12 +Release: 13 Requires: coreutils diffutils patch gzip bzip2 perl mktemp diffstat Recommends: procmail AutoReqProv: off @@ -119,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT %doc doc/quilt.pdf %changelog +* Tue Oct 28 2008 bwalle@suse.de +- Use 'type' instead of 'which' in last change to avoid dependency + of 'which' package. * Mon Oct 27 2008 bwalle@suse.de - Only recommend 'procmail' (contains the 'formail' binary) instead of requiring it. It's only needed for the 'mail' command.