Accepting request 1068238 from home:pperego:branches:shells

- Disabled zsh-sh subpackage generation for Leap 15.4 to prevent an error when
  building the package.
- don't require yodl for build, doc is not regenerated anyway

OBS-URL: https://build.opensuse.org/request/show/1068238
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=243
This commit is contained in:
Paolo Perego 2023-02-28 17:23:26 +00:00 committed by Git OBS Bridge
parent 0e10e1617a
commit 5db5251e14
2 changed files with 42 additions and 32 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 28 16:40:02 UTC 2023 - Paolo Perego <paolo.perego@suse.com>
- Disabled zsh-sh subpackage generation for Leap 15.4 to prevent an error when
building the package.
-------------------------------------------------------------------
Tue Feb 28 10:41:17 UTC 2023 - pgajdos@suse.com

View File

@ -94,6 +94,7 @@ mechanism, and more.
This package contains the Zsh manual in HTML format.
%if 0%{?suse_version} >= 1550
%package sh
Summary: Handle behaviour of /bin/sh
Group: System/Shells
@ -104,6 +105,7 @@ BuildArch: noarch
%description sh
Use zsh as /bin/sh implementation.
%endif
%prep
%setup -q
@ -205,7 +207,7 @@ rm -f %{buildroot}/%{_infodir}/dir
#
# Create the symlink required for zsh-sh to handle /bin/sh
#
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1550
ln -s %{_bindir}/zsh %{buildroot}%{_bindir}/sh
%endif
@ -291,7 +293,9 @@ mv Test/E01options.ztst Test/E01options.ztst.mvd
%files htmldoc
%doc Doc/htmldoc/*
%if 0%{?suse_version} >= 1550
%files sh
%{_bindir}/sh
%endif
%changelog