Imported upstream version 0.60.1
[hcoop/debian/courier-authlib.git] / courier-authlib.spec.in
index 8ca0bc6..8ef104e 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: courier-authlib.spec.in,v 1.8 2007/04/22 18:38:04 mrsam Exp $
+# $Id: courier-authlib.spec.in,v 1.12 2007/10/07 02:50:45 mrsam Exp $
 #
 # Copyright 1998 - 2006 Double Precision, Inc.  See COPYING for
 # distribution information.
@@ -6,6 +6,8 @@
 # No dist tag from mock; detect mandrake, redhat, etc. the old fashioned way
 %if 0%{!?dist:1}
 %define courier_release %(test -e /etc/mandrake-release -o -e /etc/mandriva-release && release="mdk" ; if test $? != 0; then release="`rpm -q --queryformat='.rh%{VERSION}' redhat-release 2>/dev/null`" ; if test $? != 0 ; then release="`rpm -q --queryformat='.fc%{VERSION}' fedora-release 2>/dev/null`" ; if test $? != 0 ; then release="" ; fi ; fi ; fi ; echo "$release")
+%else
+%define courier_release %{nil}
 %endif
 
 ################################################################################
@@ -35,6 +37,7 @@ BuildRequires:      gdbm-devel
 BuildRequires:      pam-devel
 BuildRequires:      expect
 BuildRequires:      gcc-c++
+BuildRequires:     redhat-rpm-config
 
 BuildRequires:      %{_includedir}/ltdl.h
 
@@ -137,7 +140,7 @@ program, then communicates through messages on stdin and stdout.
 %configure --with-redhat
 
 %build
-%{__make} %{_smp_mflags}
+%{__make} -s %{_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT