public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/apptainer] migrate-spdx: Reduce singularity obsoletes upper bound
@ 2026-08-03 17:53 Carl George
  0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-08-03 17:53 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/apptainer
            Branch : migrate-spdx
            Commit : b72311ccc8e6810498ed37c44897f5062deb6142
            Author : Carl George <carl@george.computer>
            Date   : 2022-12-14T19:13:23-06:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/apptainer/c/b72311ccc8e6810498ed37c44897f5062deb6142?branch=migrate-spdx

            Log:
            Reduce singularity obsoletes upper bound

This package is a rename of the singularity package.  The last shipped
singularity EVR was 0:3.8.7-3.fc37, therefore the obsoletes must be one
release higher to not gratuitously polluting the version space upwards.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

---
diff --git a/apptainer.spec b/apptainer.spec
index 5a22fc2..18772d2 100644
--- a/apptainer.spec
+++ b/apptainer.spec
@@ -54,12 +54,15 @@ Patch10: https://github.com/vasi/squashfuse/pull/70.patch
 Patch11: https://github.com/vasi/squashfuse/pull/77.patch
 Patch12: https://github.com/vasi/squashfuse/pull/81.patch
 %endif
-# The singularity package was renamed to apptainer after version 3.8.x.
+
+# This package is a rename of the singularity package.  The last shipped
+# singularity EVR was 0:3.8.7-3.fc37, therefore the obsoletes must be one
+# release higher to not gratuitously polluting the version space upwards.
 # The apptainer package reset numbering at 1.0.0, and some singularity
 #  packages are in epoch 1, so Provide corresponding singularity versions
 #  in epoch 2.
 Provides: singularity = 2:%{version}-%{release}
-Obsoletes: singularity < 1:4.0
+Obsoletes: singularity < 3.8.7-4
 # In the singularity 2.x series there was a singularity-runtime package
 #  that could have been installed independently, but starting in 3.x
 #  there was only one package
@@ -231,6 +234,7 @@ rmdir %{_sysconfdir}/singularity/* %{_sysconfdir}/singularity 2>/dev/null || tru
 %changelog
 * Wed Dec 14 2022 Carl George <carl@george.computer> - 1.1.4-2
 - Add pivot provides/conflict of sif-runtime
+- Reduce singularity obsoletes upper bound
 
 * Tue Dec 13 2022 Dave Dykstra <dwd@fedoraproject.org> - 1.1.4
 - Update to upstream 1.1.4.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-03 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 17:53 [rpms/apptainer] migrate-spdx: Reduce singularity obsoletes upper bound Carl George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox