diff --git a/_servicedata b/_servicedata
index 92573db..e6da365 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/aplanas/dracut-pcr-signature.git
- ae07fc611de1884207614125533482477e9e2f8b
\ No newline at end of file
+ da6c1262027a0814dcefb179f68aee7b2586c261
\ No newline at end of file
diff --git a/dracut-pcr-signature-0.3+2.tar.xz b/dracut-pcr-signature-0.3+2.tar.xz
deleted file mode 100644
index 2d4729a..0000000
--- a/dracut-pcr-signature-0.3+2.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0eb1f11187e6fd607e9caa48915902bde567834285a030ca64c6b2893f2acadc
-size 8328
diff --git a/dracut-pcr-signature-0.3+5.tar.xz b/dracut-pcr-signature-0.3+5.tar.xz
new file mode 100644
index 0000000..fbbc6e4
--- /dev/null
+++ b/dracut-pcr-signature-0.3+5.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:92e00f02807c28598e2d7d324103fb1a5357986438dfafd025e30668dd211100
+size 8392
diff --git a/dracut-pcr-signature.changes b/dracut-pcr-signature.changes
index 6aae09d..1c7fe63 100644
--- a/dracut-pcr-signature.changes
+++ b/dracut-pcr-signature.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Wed Apr 17 12:29:01 UTC 2024 - aplanas@suse.com
+
+- Update to version 0.3+5:
+ * Generate the initrd after installation
+ * Temporaly conflict with GRUB2
+ * Small fix for comment
+
-------------------------------------------------------------------
Tue Apr 16 17:19:57 UTC 2024 - aplanas@suse.com
diff --git a/dracut-pcr-signature.spec b/dracut-pcr-signature.spec
index c3dd767..3432113 100644
--- a/dracut-pcr-signature.spec
+++ b/dracut-pcr-signature.spec
@@ -17,14 +17,16 @@
Name: dracut-pcr-signature
-Version: 0.3+2
+Version: 0.3+5
Release: 0
Summary: Dracut module to import PCR signatures
License: GPL-2.0-or-later
URL: https://github.com/aplanas/dracut-pcr-signature
Source: %{name}-%{version}.tar.xz
-Requires: dracut
+BuildRequires: rpm-config-SUSE
+BuildRequires: pkgconfig(dracut)
BuildArch: noarch
+Conflicts: grub2
%description
Dracut module to import PCR signatures. This will make possible the
@@ -43,6 +45,15 @@ cp module-setup.sh %buildroot/usr/lib/dracut/modules.d/50pcr-signature
cp pcr-signature.sh %buildroot/usr/lib/dracut/modules.d/50pcr-signature
cp pcr-signature.conf %buildroot/usr/lib/dracut/modules.d/50pcr-signature
+%post
+%regenerate_initrd_post
+
+%posttrans
+%regenerate_initrd_posttrans
+
+%postun
+%regenerate_initrd_post
+
%files
%license LICENSE
%doc README.md