SPECS: cryptsetup.spec - glibc-static if with initrd

qboosh qboosh at pld-linux.org
Thu Jun 8 22:46:01 CEST 2006


Author: qboosh                       Date: Thu Jun  8 20:46:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- glibc-static if with initrd

---- Files affected:
SPECS:
   cryptsetup.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/cryptsetup.spec
diff -u SPECS/cryptsetup.spec:1.20 SPECS/cryptsetup.spec:1.21
--- SPECS/cryptsetup.spec:1.20	Wed Jun  7 10:23:28 2006
+++ SPECS/cryptsetup.spec	Thu Jun  8 22:45:55 2006
@@ -23,13 +23,15 @@
 Patch0:		%{name}-ioctl.patch
 URL:		http://www.saout.de/misc/dm-crypt/#cryptsetup
 BuildRequires:	device-mapper-devel >= 1.01.01
-%{?with_initrd:BuildRequires:	device-mapper-static}
-BuildRequires:	glibc-static
 BuildRequires:	libgcrypt-devel >= 1.1.42
-%{?with_initrd:BuildRequires:	libgcrypt-static}
-%{?with_initrd:BuildRequires:	libgpg-error-static}
 BuildRequires:	popt-devel
-%{?with_initrd:BuildRequires:	popt-static}
+%if %{with initrd}
+BuildRequires:	device-mapper-static
+BuildRequires:	glibc-static
+BuildRequires:	libgcrypt-static
+BuildRequires:	libgpg-error-static
+BuildRequires:	popt-static
+%endif
 Obsoletes:	cryptsetup-luks
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -162,6 +164,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/06/08 20:45:55  qboosh
+- glibc-static if with initrd
+
 Revision 1.20  2006/06/07 08:23:28  patrys
 - missing BR: glibc-static (configure dies when analysing gcc)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cryptsetup.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list