Dominique Leuenberger 2023-01-31 15:08:31 +00:00 committed by Git OBS Bridge
commit 653c540e47
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 27 13:27:44 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Sat Oct 22 05:22:28 UTC 2022 - Luciano Santos <luc14n0@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package zsh
#
# 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
@ -67,7 +67,7 @@ Requires(pre): /sbin/install-info
Requires(pre): fileutils
Requires(pre): grep
%endif
%if 0%{?usrmerged}
%if 0%{?suse_version} >= 1550
Provides: /bin/zsh
%endif
@ -186,7 +186,7 @@ done
install -D -m 0644 %{SOURCE16} %{buildroot}%{_sysconfdir}/skel/.zshrc
%endif
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
# link zsh binary
%if 0%{?suse_version} || 0%{?rhel} <= 6
ln -sf %{_bindir}/zsh %{buildroot}/bin/zsh
@ -279,7 +279,7 @@ mv Test/E01options.ztst Test/E01options.ztst.mvd
%endif
%{_bindir}/zsh
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
%if 0%{?suse_version} || 0%{?rhel} <= 6
/bin/zsh
%endif