SPECS: nkf.spec - new bcond style

darekr darekr at pld-linux.org
Sun Dec 3 22:27:06 CET 2006


Author: darekr                       Date: Sun Dec  3 21:27:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new bcond style

---- Files affected:
SPECS:
   nkf.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/nkf.spec
diff -u SPECS/nkf.spec:1.5 SPECS/nkf.spec:1.6
--- SPECS/nkf.spec:1.5	Sun May  9 07:31:53 2004
+++ SPECS/nkf.spec	Sun Dec  3 22:27:00 2006
@@ -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:	Network Kanji code conversion Filter
@@ -60,7 +60,7 @@
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 cd NKF.mod
 %{__perl} Makefile.PL \
@@ -69,7 +69,7 @@
 %{__make} \
 	OPTIMIZE="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -106,6 +106,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2006/12/03 21:27:00  darekr
+- new bcond style
+
 Revision 1.5  2004/05/09 05:31:53  ankry
 - BR fixes, rel. 3
 
================================================================

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



More information about the pld-cvs-commit mailing list