From 8ddaadb2bdc29e58a9ba6beeb31999a614eac16f Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 28 Jan 2025 06:00:47 -0800 Subject: [PATCH] fix(steam): Obsoletes/Provides (#3136) (#3155) Signed-off-by: Gil (cherry picked from commit 51f2719a4459d2cad3146ac97dee13623bb16326) Co-authored-by: Gil --- anda/games/steam/steam.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/anda/games/steam/steam.spec b/anda/games/steam/steam.spec index 6894fe972b..bd3290444d 100644 --- a/anda/games/steam/steam.spec +++ b/anda/games/steam/steam.spec @@ -5,7 +5,7 @@ Name: steam Version: 1.0.0.82 -Release: 3%?dist +Release: 4%?dist Summary: Installer for the Steam software distribution service # Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT. License: Steam License Agreement and MIT @@ -135,6 +135,10 @@ Recommends: gobject-introspection Requires: steam-devices = %{?epoch:%{epoch}:}%{version}-%{release} +# Fix upgrading from old versions +Provides: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 +Obsoletes: %{name} < %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 + %description Steam is a software distribution service with an online store, automated installation, automatic updates, achievements, SteamCloud synchronized savegame @@ -147,6 +151,9 @@ Summary: Permissions required by Steam for gaming devices BuildArch: noarch Provides: steam-devices = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: steam-devices < %{?epoch:%{epoch}:}%{version}-%{release} +# Fix upgrading from old versions +Provides: steam-devices = %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 +Obsoletes: steam-devices < %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 %description devices Steam is a software distribution service with an online store, automated