public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com>
To: git-commits@fedoraproject.org
Subject: [rpms/apptainer] migrate-spdx: restore Obsoletes: singularity to the main package
Date: Mon, 03 Aug 2026 17:53:05 GMT	[thread overview]
Message-ID: <178577958525.1.12300394646730068695.rpms-apptainer-9a95af1ffb7e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/apptainer
Branch : migrate-spdx
Commit : 9a95af1ffb7ece3b1ae2ef1cb2ae70ea370f5052
Author : Dave Dykstra <2129743+DrDaveD@users.noreply.github.com>
Date   : 2023-01-04T21:54:47-06:00
Stats  : +16/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/apptainer/c/9a95af1ffb7ece3b1ae2ef1cb2ae70ea370f5052?branch=migrate-spdx

Log:
restore Obsoletes: singularity to the main package

---
diff --git a/apptainer.spec b/apptainer.spec
index d56af0f..9912197 100644
--- a/apptainer.spec
+++ b/apptainer.spec
@@ -36,10 +36,13 @@
 # Uncomment this to include a multithreaded version of squashfuse_ll
 %global squashfuse_version 0.1.105
 
+# 3.8.7-3 was the last release of the old singularity in EPEL/Fedora.
+%global obsoletes_singularity_version 3.8.7-4
+
 Summary: Application and environment virtualization formerly known as Singularity
 Name: apptainer
 Version: 1.1.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 # See LICENSE.md for first party code (BSD-3-Clause and LBNL BSD)
 # See LICENSE_THIRD_PARTY.md for incorporated code (ASL 2.0)
 # See LICENSE_DEPENDENCIES.md for dependencies
@@ -55,6 +58,10 @@ 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.  Note that is also
+# on the apptainer-suid subpackage below.
+Obsoletes: singularity < %{obsoletes_singularity_version}
+
 # 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
@@ -105,15 +112,10 @@ containers that can be used across host environments.
 %package suid
 Summary: Setuid component of Apptainer
 Requires: %{name} = %{version}-%{release}
-# The singularity package was renamed to apptainer.  However, this also brought
-# several incompatibilities, including defaulting to unprivileged user
-# namespaces.  Installing this subpackage allows apptainer to run without
-# unprivileged user namespaces, mitigating one of the incompatibilities.
-# Because of this, we'll put the renaming obsoletes in this subpackage instead
-# of at the top level.  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.
-Obsoletes: singularity < 3.8.7-4
+# The singularity package was renamed to apptainer.  The Obsoletes is
+# on this subpackage for greater compatibility after an update from the
+# old singularity.
+Obsoletes: singularity < %{obsoletes_singularity_version}
 
 %description suid
 Provides the optional setuid-root portion of Apptainer.
@@ -232,6 +234,10 @@ rmdir %{_sysconfdir}/singularity/* %{_sysconfdir}/singularity 2>/dev/null || tru
 %attr(4755, root, root) %{_libexecdir}/%{name}/bin/starter-suid
 
 %changelog
+* Wed Jan  4 2023 Dave Dykstra <dwd@fnal.gov> - 1.1.4-3
+- Restore the singularity obsoletes on the apptainer main package, so
+  that now it is on both the main package and suid subpackage.
+
 * 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

                 reply	other threads:[~2026-08-03 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178577958525.1.12300394646730068695.rpms-apptainer-9a95af1ffb7e@fedoraproject.org \
    --to=2129743+drdaved@users.noreply.github.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox