diff --git a/_service b/_service
index a29542d..b7db3ab 100644
--- a/_service
+++ b/_service
@@ -2,7 +2,7 @@
https://github.com/himmelblau-idm/himmelblau.git
git
- stable-0.3.x
+ stable-0.4.x
@PARENT_TAG@+git.@TAG_OFFSET@.%h
himmelblau-(.*)
\1
diff --git a/_servicedata b/_servicedata
index 9c08b33..0807a44 100644
--- a/_servicedata
+++ b/_servicedata
@@ -3,4 +3,4 @@
https://github.com/openSUSE/himmelblau.git
6d2f6450ff3c0c945a884d4b35307e03a035a581
https://github.com/himmelblau-idm/himmelblau.git
- 01d099fdc73ca4ec5d229e8fc6249eff8f6084f9
\ No newline at end of file
+ 69b64fe3ff0949c4b3cf73edbb4047def6293c4e
\ No newline at end of file
diff --git a/himmelblau-0.3.4+git.0.01d099f.tar.bz2 b/himmelblau-0.3.4+git.0.01d099f.tar.bz2
deleted file mode 100644
index 6ae1034..0000000
--- a/himmelblau-0.3.4+git.0.01d099f.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:02cfbf02431ac41fbe434dfc3cbba3a23085be4603ab514738d3cc79ae12446e
-size 13219629
diff --git a/himmelblau-0.4.0+git.0.69b64fe.tar.bz2 b/himmelblau-0.4.0+git.0.69b64fe.tar.bz2
new file mode 100644
index 0000000..9f3867b
--- /dev/null
+++ b/himmelblau-0.4.0+git.0.69b64fe.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:173ee9e7f88a45985ee3154cbb943bb3a5e92ae7510ef3bb78e2d090a63ff0d0
+size 17703995
diff --git a/himmelblau.changes b/himmelblau.changes
index ea92edf..f560430 100644
--- a/himmelblau.changes
+++ b/himmelblau.changes
@@ -1,3 +1,29 @@
+-------------------------------------------------------------------
+Mon May 20 19:23:30 UTC 2024 - david.mulder@suse.com
+
+- Update to version 0.4.0+git.0.69b64fe:
+ * Add github workflows for the 0.4.x branch
+ * Do not append to pam_allow_groups automatically
+ * Pam Allow Groups must be specified by Object ID
+ * Request the correct resource and permissions
+ * Improve error output on group lookup failure
+ * When faking a uuid for NSS, use a random uuid
+ * Fix clippy warning about inefficient use of clone()
+ * Remove the initial uid hack, use name mapping
+ * Don't stop an MR based on a clippy warning
+ * Update Kanidm tracking
+ * Modify CI workflows to handle idmap build
+ * Add CI job for cargo test
+ * Test the new and legacy idmapping
+ * Ensure duplicate providers are not started
+ * Use the SSSD Idmap code in Himmelblau
+ * Specify in conf that pam_allow_groups is required
+ * Remove code duplication in Hello PIN auth
+ * Fix Device authentication failed after enrollment
+ * Update the base64urlsafedata version
+ * Update README.md with Matrix contact info
+ * Version 0.4.0
+
-------------------------------------------------------------------
Wed May 15 15:19:43 UTC 2024 - david.mulder@suse.com
diff --git a/himmelblau.spec b/himmelblau.spec
index a5bb26e..434cf0e 100644
--- a/himmelblau.spec
+++ b/himmelblau.spec
@@ -17,7 +17,7 @@
Name: himmelblau
-Version: 0.3.4+git.0.01d099f
+Version: 0.4.0+git.0.69b64fe
Release: 0
Summary: Interoperability suite for Microsoft Azure AD and Intune
License: MPL-2.0
@@ -27,8 +27,16 @@ Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: clang-devel
+BuildRequires: krb5-devel
+BuildRequires: libcap-devel
+BuildRequires: libclang13
+BuildRequires: libdhash-devel
+BuildRequires: libldb-devel
BuildRequires: libopenssl-3-devel
+BuildRequires: libtalloc-devel
+BuildRequires: libtevent-devel
BuildRequires: pam-devel
+BuildRequires: pcre2-devel
BuildRequires: sqlite3-devel
BuildRequires: tpm2-0-tss-devel
ExclusiveArch: %{rust_tier1_arches}
@@ -77,6 +85,10 @@ install -D -m 644 %{SOURCE2} .cargo/config
%build
%{cargo_build}
+%check
+
+%{cargo_test}
+
%install
install -D -d -m 0755 %{buildroot}/%{_sysconfdir}/himmelblau
cp src/config/himmelblau.conf.example %{buildroot}/%{_sysconfdir}/himmelblau/himmelblau.conf
diff --git a/vendor.tar.zst b/vendor.tar.zst
index d026045..c718bd2 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:288356910925e4680ba5394ab9fa1ee3f59c2552c71c428cf67b0523ea82ba8f
-size 43304094
+oid sha256:b4210adfde9a85259b734f2788d1fc81689148053cfafe6a9e40f72dfb2f54b7
+size 43461420