Accepting request 1055755 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798) OBS-URL: https://build.opensuse.org/request/show/1055755 OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=240
This commit is contained in:
parent
a70a866590
commit
0f9c771bf1
@ -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>
|
||||
|
||||
|
8
zsh.spec
8
zsh.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user