public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] f45: spec: enable sbin_compat only for >= f43
@ 2026-09-04 13:38 Ivan Kruglov
0 siblings, 0 replies; only message in thread
From: Ivan Kruglov @ 2026-09-04 13:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/systemd
Branch : f45
Commit : ce778758540bd52702fd35e243cdbb7acc1cc4f8
Author : Ivan Kruglov <mail@ikruglov.com>
Date : 2026-09-04T15:36:45+02:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/systemd/c/ce778758540bd52702fd35e243cdbb7acc1cc4f8?branch=f45
Log:
spec: enable sbin_compat only for >= f43
Only Fedora >= 43 ships a filesystem package with those file triggers
and the matching virtual provide; on el9 (filesystem-3.16) and el10
(filesystem-3.18) it does not exist, so enabling this there produces
packages that are simply uninstallable (and that would ship no
/usr/sbin/init at all).
[skip changelog]
---
diff --git a/systemd.spec b/systemd.spec
index 356810f..ce47dd6 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -23,7 +23,10 @@
# create /usr/sbin symlinks instead of shipping them in the package. This
# avoids file conflicts when installing on merged-sbin systems and eliminates
# bootstrap ordering issues with the bin/sbin merge.
-%bcond sbin_compat 1
+#
+# So far only Fedora >= 43 ships a filesystem package with those file
+# triggers and the required matching virtual provides.
+%bcond sbin_compat %[0%{?fedora} >= 43]
# riscv64 has LTO disabled globally
%bcond lto %["%_arch" != "riscv64"]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 13:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 13:38 [rpms/systemd] f45: spec: enable sbin_compat only for >= f43 Ivan Kruglov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox