diff --git a/1229047-fix-bin-sbin-selinux.patch b/1229047-fix-bin-sbin-selinux.patch new file mode 100644 index 0000000..3bf9f75 --- /dev/null +++ b/1229047-fix-bin-sbin-selinux.patch @@ -0,0 +1,8 @@ +Index: tpm2-abrmd-3.0.0/selinux/tabrmd.fc +=================================================================== +--- tpm2-abrmd-3.0.0.orig/selinux/tabrmd.fc ++++ tpm2-abrmd-3.0.0/selinux/tabrmd.fc +@@ -1,2 +1,3 @@ ++/usr/bin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0) + /usr/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0) + /usr/local/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0) diff --git a/tpm2.0-abrmd.changes b/tpm2.0-abrmd.changes index 32923e2..55c1ce4 100644 --- a/tpm2.0-abrmd.changes +++ b/tpm2.0-abrmd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Aug 13 08:52:59 UTC 2024 - Cathy Hu + +- Fix SELinux sbin/bin merge (bsc#1229047) + 1229047-fix-bin-sbin-selinux.patch + Can be dropped once https://github.com/tpm2-software/tpm2-abrmd/pull/846 + is merged upstream + ------------------------------------------------------------------- Thu Aug 1 09:39:15 UTC 2024 - Johannes Segitz diff --git a/tpm2.0-abrmd.spec b/tpm2.0-abrmd.spec index 8e07b0b..ffa26b4 100644 --- a/tpm2.0-abrmd.spec +++ b/tpm2.0-abrmd.spec @@ -43,6 +43,7 @@ Source2: tpm2-abrmd.keyring Source3: tpm2.0-abrmd.rpmlintrc Source4: README.SUSE Patch0: harden_tpm2-abrmd.service.patch +Patch1: 1229047-fix-bin-sbin-selinux.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: checkpolicy