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