Fix dnf upgrade --allowerasing errors with EPEL packages
Some checks failed
Build RPMs / build (push) Failing after 1h6m24s
Some checks failed
Build RPMs / build (push) Failing after 1h6m24s
Fix 4 errors that occurred when running dnf upgrade --allowerasing on a system with EPEL KDE packages installed: 1. plasma-discover: Fix typo "sonic-desktop-interface)" -> "sonic-desktop-interface" in Requires (stray closing parenthesis in spec) 2. sonic-frameworks-sso: Remove Obsoletes for signon and signon-qt6. The SonicDE SSO package provides libsignon-qt6.so.0 while the EPEL signon-qt6 provides libsignon-qt6.so.1. Obsoleting signon-qt6 breaks accounts-qml-module-qt6 and signon-plugin-oauth2 which need .so.1. Both packages can coexist since they install different .so versions. 3. sonic-terminal-tools: Change kdesu dependency from strict version match (= 1:6.7.4-3) to >= 1:6.7.4 so it works with any kdesu 6.7.4 release. Also add Obsoletes for kdesu < 1:6.7.4-2.el10 in the kdesu subpackage so it properly replaces the old EPEL kdesu from kde-cli-tools. 4. kamera: Add kamera package with Requires changed from kde-cli-tools to sonic-terminal-tools. The EPEL kamera requires kde-cli-tools which is obsoleted by sonic-terminal-tools, causing a circular dependency resolution failure. 5. skanpage: Change Requires from kquickimageeditor-qt6 (obsoleted by sonic-quick-image-editor-qt6) to sonic-quick-image-editor-qt6. Result: dnf upgrade --allowerasing --best from standard EPEL KDE now completes with 0 errors and 0 package removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a88703e93e
commit
2735e8fae8
6 changed files with 84 additions and 11 deletions
|
|
@ -13,7 +13,7 @@
|
|||
#Name: signon
|
||||
Name: sonic-frameworks-sso
|
||||
Version: 8.61.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Accounts framework for Linux and POSIX based platforms
|
||||
|
||||
License: LGPL-2.1-only
|
||||
|
|
@ -35,7 +35,6 @@ Provides: signond%{?_isa} = %{version}-%{release}
|
|||
Requires: dbus
|
||||
|
||||
Provides: signon%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: signon < %{version}-%{release}
|
||||
|
||||
%description
|
||||
Single Sign-On is a framework for centrally storing authentication credentials
|
||||
|
|
@ -47,7 +46,6 @@ client library for applications to communicate with this system.
|
|||
%package qt6
|
||||
Summary: Single Sign On client library for Qt6-based applications
|
||||
Provides: signon-qt6%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: signon-qt6 < %{version}-%{release}
|
||||
|
||||
%description qt6
|
||||
%{summary}.
|
||||
|
|
@ -59,9 +57,7 @@ Requires: %{name}-qt6%{?_isa} = %{version}-%{release}
|
|||
# upstream name: signond
|
||||
Provides: signond-devel%{?_isa} = %{version}-%{release}
|
||||
Provides: signon-devel%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: signon-devel < %{version}-%{release}
|
||||
Provides: signon-qt6-devel%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: signon-qt6-devel < %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue