public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Drop dependencies
@ 2026-08-10 9:34 Stephen Gallagher
0 siblings, 0 replies; only message in thread
From: Stephen Gallagher @ 2026-08-10 9:34 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 9:34 [rpms/fedora-release] f45: Drop dependencies Stephen Gallagher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox