public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stephen Gallagher <sgallagh@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Drop dependencies
Date: Mon, 10 Aug 2026 09:34:40 GMT [thread overview]
Message-ID: <178635448009.1.2072116157807861527.rpms-fedora-release-242d999c07ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : 242d999c07eab498c7c79fd4c0dbc8ede4b9832e
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2018-11-11T13:39:42-05:00
Stats : +8/-23 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/242d999c07eab498c7c79fd4c0dbc8ede4b9832e?branch=f45
Log:
Drop dependencies
In F21-F29, the editions were seperate add-on packages and the
fedora-release package was the only one that provided system-release.
In F30, we've moved to a setup where fedora-release[-$EDITION] can
provide system-release. As an unexpected side-effect, this resulted
in -server and -workstation having an unresolvable dependency-chain,
because the edition-specific subpackages can no longer be ordered
late in the transaction.
Those dependencies were there solely for the ability to stop an
installation from reporting itself as Server or Workstation if
those packages were removed. (This implied a minimal set of
functionality that could be relied upon to be present for those
Editions). Since this was a nice-to-have feature rather than a
critical feature, we're going to drop those dependencies and treat
the Edition as an install-time declaration. These will still be
installed by default on the relevant Editions in their comps.xml
definition.
The glib-compile-schemas execution is now handled by a filetrigger
in the glib2 package.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/fedora-release.spec b/fedora-release.spec
index 5659ed1..8454d07 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -14,7 +14,7 @@
Summary: Fedora release files
Name: fedora-release
Version: 30
-Release: 0.12
+Release: 0.13
License: MIT
URL: https://fedoraproject.org/
@@ -217,15 +217,6 @@ Provides: fedora-release-variant = %{version}-%{release}
Provides: system-release
Provides: system-release(%{version})
Requires: fedora-release-common = %{version}-%{release}
-Requires: systemd
-Requires: cockpit-bridge
-Requires: cockpit-networkmanager
-Requires: cockpit-shell
-Requires: cockpit-storaged
-Requires: cockpit-ws
-Requires: openssh-server
-
-Requires(post): systemd
%description server
@@ -278,10 +269,6 @@ Provides: system-release
Provides: system-release(%{version})
Requires: fedora-release-common = %{version}-%{release}
Provides: system-release-product
-# needed for captive portal support
-Requires: NetworkManager-config-connectivity-fedora
-Requires(post): /usr/bin/glib-compile-schemas
-Requires(postun): /usr/bin/glib-compile-schemas
%description workstation
@@ -507,15 +494,6 @@ sed -e "s#\$version#%{bug_version}#g" -e 's/<!--.*-->//;/^$/d' %{SOURCE19} > %{b
install -d %{buildroot}%{_sysconfdir}/swid/swidtags.d
ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.org
-%postun workstation
-if [ $1 -eq 0 ] ; then
- glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-fi
-
-
-%posttrans workstation
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-
%files common
%license licenses/LICENSE licenses/Fedora-Legal-README.txt
@@ -617,6 +595,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
+* Sun Nov 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 30-0.13
+- Drop unneeded Requires(post) and Requires(postun) dependencies causing
+ loops. The glib-compile-schemas dependency is now handled by file triggers
+ and the systemd requirement was just completely erroneous.
+- Also drop strict dependencies on edition packages. They are causing
+ un-breakable dependency loops.
+
* Tue Oct 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 30-0.12
- Convert to more maintainable implementation of variant-handling
reply other threads:[~2026-08-10 9:34 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=178635448009.1.2072116157807861527.rpms-fedora-release-242d999c07ea@fedoraproject.org \
--to=sgallagh@redhat.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