diff --git a/apptainer.changes b/apptainer.changes index 561cf03..8a580ed 100644 --- a/apptainer.changes +++ b/apptainer.changes @@ -94,6 +94,7 @@ Fri Mar 15 11:20:14 UTC 2024 - Christian Goll run multiple apptainer instances created by the same parent using the same image in the same user namespace. - Make 'gocryptfs' an optional dependency. +- Make apptainer definition templates version dependent. ------------------------------------------------------------------- Wed Mar 13 19:28:40 UTC 2024 - Egbert Eich diff --git a/apptainer.spec b/apptainer.spec index db5fb72..8006b5f 100644 --- a/apptainer.spec +++ b/apptainer.spec @@ -59,9 +59,9 @@ Requires: squashfs Requires: squashfuse Recommends: fuse2fs Recommends: gocryptfs -Requires: (apptainer-leap if product(Leap) = 15.5) -Requires: (apptainer-sle15_5 if product(SUSE_SLE) = 15.5) -Requires: (apptainer-sle15_6 if product(SUSE_SLE) = 15.6) +Requires: (apptainer-leap = %version if product(Leap) = 15.5) +Requires: (apptainer-sle15_5 = %version if product(SUSE_SLE) = 15.5) +Requires: (apptainer-sle15_6 = %version if product(SUSE_SLE) = 15.6) # Needed for container decryption in userspace, upstream rpms include this # but factory should have this seperately @@ -78,7 +78,7 @@ containers that can be used across host environments. %package sle15_5 Summary: Apptainer Definition File Templates for SLE 15 SP5 BuildArch: noarch -Requires: apptainer +Requires: apptainer = %version %description sle15_5 The package provides a definition file template for Apptainer containers @@ -87,7 +87,7 @@ based on SUSE Linux Enterprise 15 SP5. %package sle15_6 Summary: Apptainer Definition File Templates for SLE 15 SP6 BuildArch: noarch -Requires: apptainer +Requires: apptainer = %version %description sle15_6 The package provides a definition file template for Apptainer containers @@ -96,7 +96,7 @@ based on SUSE Linux Enterprise 15 SP6. %package leap Summary: Apptainer Definition File Templates for current openSUSE Leap BuildArch: noarch -Requires: apptainer +Requires: apptainer = %version %description leap The package provides a definition file template for Apptainer containers