public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/setup] rawhide: Stop pulling in system-release
Date: Tue, 03 Nov 2026 13:33:00 GMT [thread overview]
Message-ID: <179371278048.1.8467413391433994201.rpms-setup-d2aaf87476fe@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-03 13:33 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=179371278048.1.8467413391433994201.rpms-setup-d2aaf87476fe@fedoraproject.org \
--to=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