From 66d848070f4330efe81b88007be4356462194b8c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 9 Jan 2023 10:27:26 +0000 Subject: [PATCH] Accepting request 1051448 from home:lnussel:usrmerge - Replace transitional %usrmerged macro with regular version check (boo#1206798) OBS-URL: https://build.opensuse.org/request/show/1051448 OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=372 --- bash.changes | 5 +++++ bash.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/bash.changes b/bash.changes index a9863a14..6d7113b1 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 27 10:23:00 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + ------------------------------------------------------------------- Wed Dec 14 14:52:27 UTC 2022 - Dr. Werner Fink diff --git a/bash.spec b/bash.spec index a36f720c..676ba75b 100644 --- a/bash.spec +++ b/bash.spec @@ -1,7 +1,7 @@ # # spec file for package bash # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -219,7 +219,7 @@ unlink Remove a directory entry. whoami Print out username of current user. -%if 0%{?usrmerged} +%if 0%{?suse_version} >= 1550 %package legacybin Summary: Legacy usrmove helper files Group: System/Shells @@ -586,7 +586,7 @@ fi %ghost %config %{_sysconfdir}/alternatives/sh %endif %dir %{_sysconfdir}/bash_completion.d -%if !0%{?usrmerged} +%if 0%{?suse_version} < 1550 /bin/bash %if %{with alternatives} /bin/sh @@ -608,7 +608,7 @@ fi %if %{without alternatives} %files sh -%if !0%{?usrmerged} +%if 0%{?suse_version} < 1550 /bin/sh %endif %{_bindir}/sh @@ -633,7 +633,7 @@ fi %files loadables %{_ldldir} -%if 0%{?usrmerged} +%if 0%{?suse_version} >= 1550 %files legacybin /bin/bash /bin/sh