From 2ebbcc222610ab5e7299f9ba88e9391b275456db6a47e47d5dd2afade48d0ed3 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 13 Apr 2015 09:46:51 +0000 Subject: [PATCH] Accepting request 295595 from home:elvigia:branches:security - Enable verbose build log. - regenerate the initrd if cryptsetup tool changes (wanted by 90crypt dracut module) OBS-URL: https://build.opensuse.org/request/show/295595 OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=122 --- cryptsetup.changes | 11 +++++++++++ cryptsetup.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/cryptsetup.changes b/cryptsetup.changes index cdaa2fa..44828b3 100644 --- a/cryptsetup.changes +++ b/cryptsetup.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Apr 12 18:45:26 UTC 2015 - crrodriguez@opensuse.org + +- Enable verbose build log. + +------------------------------------------------------------------- +Sun Apr 12 18:41:39 UTC 2015 - crrodriguez@opensuse.org + +- regenerate the initrd if cryptsetup tool changes + (wanted by 90crypt dracut module) + ------------------------------------------------------------------- Thu Apr 2 12:05:47 UTC 2015 - mpluskal@suse.com diff --git a/cryptsetup.spec b/cryptsetup.spec index 82132f4..929aaee 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -40,6 +40,7 @@ BuildRequires: libuuid-devel BuildRequires: linux-glibc-devel >= 2.6.38 BuildRequires: pkgconfig BuildRequires: popt-devel +BuildRequires: suse-module-tools BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -93,7 +94,7 @@ time via the config file %{_sysconfdir}/crypttab. --enable-fips \ --enable-pwquality \ --enable-gcrypt-pbkdf2 -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install # Generate HMAC checksums (FIPS) @@ -132,6 +133,11 @@ if [ "$FIRST_ARG" -gt 1 -a ! -e "$marker" ]; then fi fi +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans} + %post -n libcryptsetup%{so_ver} -p /sbin/ldconfig %postun -n libcryptsetup%{so_ver} -p /sbin/ldconfig