public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/setup] rawhide: Stop pulling in system-release
@ 2026-11-03 13:33 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-03 13:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/setup
            Branch : rawhide
            Commit : d2aaf87476feef8aa11f35596894cfa06c2703c1
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-10-02T18:44:27+02:00
            Stats  : +0/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/setup/c/d2aaf87476feef8aa11f35596894cfa06c2703c1?branch=rawhide

            Log:
            Stop pulling in system-release

filesystem requires setup, and setup requires system-release, which
means that any install of filesystem pulls in the repo definitions.
This was added in d9f10fcd413aa2934f8f9f9e0ba042b30f4b4022, with the
description "require system-release for saner dependency order
(#1075578)". rhbug#1075578 was opened with
> Currently redhat-release package is pulled into distribution by
> initscripts and systemd. After discussion with Lukas and Dan, I
> don't think this is right. Although these packages are in the @core
> group too, it might be possible to exclude them in some cases - f.e.
> Docker images won't have them inside probably.
So the justification seems to have been to make it easier to build
installations _without_ redhat-release, but the change that was
actually implemented hardcodes the installation of repo definitions
everywhere. To be able to build initrd installation and other
buildroots which do not have dnf and will never use the repos files,
revert the original change. In installations where the repos files
are required, they should be pulled in explicitly by something at
a (much) higher level.

---
diff --git a/setup.spec b/setup.spec
index 8bb50b9..d86c173 100644
--- a/setup.spec
+++ b/setup.spec
@@ -38,8 +38,6 @@ BuildRequires: perl-interpreter
 BuildRequires: /usr/bin/systemd-sysusers
 #systemd-rpm-macros: required to use _sysusersdir and _tmpfilesdir macro
 BuildRequires: systemd-rpm-macros
-#require system release for saner dependency order
-Requires: system-release
 
 %description
 The setup package contains a set of important system configuration and

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

only message in thread, other threads:[~2026-11-03 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 13:33 [rpms/setup] rawhide: Stop pulling in system-release 

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