Accepting request 949512 from home:dirkmueller:branches:shells
- add dash-sh subpackage to be able to switch away from bash OBS-URL: https://build.opensuse.org/request/show/949512 OBS-URL: https://build.opensuse.org/package/show/shells/dash?expand=0&rev=41
This commit is contained in:
parent
f5aa4c1c78
commit
c123f7b918
@ -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>
|
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
|
# spec file for package dash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2013 Guido Berhoerster.
|
# Copyright (c) 2013 Guido Berhoerster.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# 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
|
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
|
||||||
possible without sacrificing speed where possible.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
@ -52,6 +62,7 @@ possible without sacrificing speed where possible.
|
|||||||
mkdir -p %{buildroot}/bin
|
mkdir -p %{buildroot}/bin
|
||||||
ln -s %{_bindir}/dash %{buildroot}/bin/dash
|
ln -s %{_bindir}/dash %{buildroot}/bin/dash
|
||||||
%endif
|
%endif
|
||||||
|
ln -sf %{_bindir}/dash %{buildroot}%{_bindir}/sh
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -62,4 +73,7 @@ ln -s %{_bindir}/dash %{buildroot}/bin/dash
|
|||||||
%endif
|
%endif
|
||||||
%{_mandir}/man1/dash.1%{?ext_man}
|
%{_mandir}/man1/dash.1%{?ext_man}
|
||||||
|
|
||||||
|
%files sh
|
||||||
|
%{_bindir}/sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user