SPECS: mbx2mbox.spec - new bcond style

darekr darekr at pld-linux.org
Sat Oct 29 21:08:03 CEST 2005


Author: darekr                       Date: Sat Oct 29 19:08:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new bcond style

---- Files affected:
SPECS:
   mbx2mbox.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/mbx2mbox.spec
diff -u SPECS/mbx2mbox.spec:1.6 SPECS/mbx2mbox.spec:1.7
--- SPECS/mbx2mbox.spec:1.6	Sun May  9 07:22:00 2004
+++ SPECS/mbx2mbox.spec	Sat Oct 29 21:07:58 2005
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_tests	- do not perform "make test"
+%bcond_without tests		# do not perform "make test"
 #
 %include        /usr/lib/rpm/macros.perl
 Summary:	Converts Outlook .mbx and .dbx files into standard UUCP mailbox files
@@ -42,11 +42,13 @@
 %{__perl} Makefile.PL
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/10/29 19:07:58  darekr
+- new bcond style
+
 Revision 1.6  2004/05/09 05:22:00  ankry
 - BR fixes, rel. 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mbx2mbox.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list