SPECS: mdadm.spec - unified bcond name: diet -> dietlibc

qboosh qboosh at pld-linux.org
Wed Feb 6 21:11:57 CET 2008


Author: qboosh                       Date: Wed Feb  6 20:11:57 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified bcond name: diet -> dietlibc

---- Files affected:
SPECS:
   mdadm.spec (1.72 -> 1.73) 

---- Diffs:

================================================================
Index: SPECS/mdadm.spec
diff -u SPECS/mdadm.spec:1.72 SPECS/mdadm.spec:1.73
--- SPECS/mdadm.spec:1.72	Wed Nov 28 22:26:23 2007
+++ SPECS/mdadm.spec	Wed Feb  6 21:11:52 2008
@@ -2,7 +2,7 @@
 #
 # Conditional build:
 %bcond_without	initrd		# don't build initrd version
-%bcond_without	diet		# link initrd version with static glibc instead of dietlibc
+%bcond_without	dietlibc	# link initrd version with static glibc instead of dietlibc
 #
 Summary:	Tool for creating and maintaining software RAID devices
 Summary(pl.UTF-8):	Narzędzie do tworzenia i obsługi programowych macierzy RAID
@@ -20,8 +20,8 @@
 BuildRequires:	groff
 BuildRequires:	rpmbuild(macros) >= 1.213
 %if %{with initrd}
-%{!?with_diet:BuildRequires:	glibc-static}
-%if %{with diet}
+%{!?with_dietlibc:BuildRequires:	glibc-static}
+%if %{with dietlibc}
 BuildRequires:	dietlibc-static
 %endif
 Requires:	%{name}-initrd = %{epoch}:%{version}-%{release}
@@ -64,7 +64,7 @@
 
 %build
 %if %{with initrd}
-%if %{with diet}
+%if %{with dietlibc}
 %{__make} mdadm \
 	CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -static" \
 	CWFLAGS="-Wall"
@@ -154,6 +154,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.73  2008-02-06 20:11:52  qboosh
+- unified bcond name: diet -> dietlibc
+
 Revision 1.72  2007-11-28 21:26:23  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mdadm.spec?r1=1.72&r2=1.73&f=u



More information about the pld-cvs-commit mailing list