From 3ee30d057a9a70e14020c9419eb2c0b5d2bf1bc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 11 Jan 2013 13:09:41 +0100 Subject: [PATCH] - 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) -- 2.44.0