[packages/cryptsetup] - disabled initrd package, as it has impossible deps (udev-initrd has been removed)

baggins baggins at pld-linux.org
Fri Jan 11 13:10:33 CET 2013


commit 3ee30d057a9a70e14020c9419eb2c0b5d2bf1bc2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Jan 11 13:09:41 2013 +0100

    - disabled initrd package, as it has impossible deps (udev-initrd has been removed)

 cryptsetup.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/cryptsetup.spec b/cryptsetup.spec
index 0fa3c08..fbc85ab 100644
--- a/cryptsetup.spec
+++ b/cryptsetup.spec
@@ -1,6 +1,6 @@
 #
 # Conditonal build:
-%bcond_without	initrd		# don't build initrd version
+%bcond_with	initrd		# don't build initrd version
 %bcond_with	dietlibc	# build initrd version with static glibc instead of dietlibc
 %bcond_without	python		# Python binding
 
@@ -51,6 +51,7 @@ BuildRequires:	udev-static
 Requires:	popt >= 1.7
 Provides:	cryptsetup-luks = %{version}-%{release}
 Obsoletes:	cryptsetup-luks < 1.4.1-2
+%{!?with_initrd:Obsoletes:	cryptsetup-initrd < %{version}-%{release}}
 Conflicts:	udev < 1:118-1
 Conflicts:	udev-core < 1:115
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cryptsetup.git/commitdiff/3ee30d057a9a70e14020c9419eb2c0b5d2bf1bc2



More information about the pld-cvs-commit mailing list