Accepting request 949666 from shells
OBS-URL: https://build.opensuse.org/request/show/949666 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dash?expand=0&rev=28
This commit is contained in:
commit
e9671ff7d6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 27 17:38:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add dash-sh subpackage to be able to switch away from bash
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 20 10:46:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
16
dash.spec
16
dash.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dash
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2013 Guido Berhoerster.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -33,6 +33,16 @@ BuildRequires: libedit-devel
|
||||
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
|
||||
possible without sacrificing speed where possible.
|
||||
|
||||
%package sh
|
||||
Summary: Handle behaviour of /bin/sh
|
||||
Group: System/Shells
|
||||
Requires: dash = %{version}
|
||||
Conflicts: alternative(sh)
|
||||
Provides: alternative(sh)
|
||||
|
||||
%description sh
|
||||
Use dash as /bin/sh implementation.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
@ -52,6 +62,7 @@ possible without sacrificing speed where possible.
|
||||
mkdir -p %{buildroot}/bin
|
||||
ln -s %{_bindir}/dash %{buildroot}/bin/dash
|
||||
%endif
|
||||
ln -sf %{_bindir}/dash %{buildroot}%{_bindir}/sh
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
@ -62,4 +73,7 @@ ln -s %{_bindir}/dash %{buildroot}/bin/dash
|
||||
%endif
|
||||
%{_mandir}/man1/dash.1%{?ext_man}
|
||||
|
||||
%files sh
|
||||
%{_bindir}/sh
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user