Accepting request 201085 from shells
- install into %{_bindir} and add a compatibility symlink to /bin - reenable commandline editor OBS-URL: https://build.opensuse.org/request/show/201085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dash?expand=0&rev=14
This commit is contained in:
commit
943632db5e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 11:32:47 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- install into %{_bindir} and add a compatibility symlink to /bin
|
||||
- reenable commandline editor
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 6 22:04:40 UTC 2011 - gber@opensuse.org
|
||||
|
||||
|
25
dash.spec
25
dash.spec
@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package dash
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 Guido Berhoerster.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 Guido Berhoerster.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,19 +17,19 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: dash
|
||||
Summary: POSIX-compliant Implementation of /bin/sh
|
||||
Version: 0.5.7
|
||||
Release: 1
|
||||
License: BSD-3-Clause
|
||||
Group: System/Shells
|
||||
Version: 0.5.7
|
||||
Release: 0
|
||||
Url: http://gondor.apana.org.au/~herbert/dash/
|
||||
Source: dash-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM dash-0.5.7-do-not-close-stderr.patch gber@opensuse.org -- Prevents closing stderr when /dev/tty fails to open (backported from upstream git)
|
||||
Patch0: dash-0.5.7-do-not-close-stderr.patch
|
||||
# PATCH-FIX-UPSTREAM dash-remove-backslash-before-in-double-quotes-in-variable.patch gber@opensuse.org -- Remove backslash before } in double-quotes in variable as it prevents the closing brace from terminating the substitution (from FreeBSD/Debian)
|
||||
Patch1: dash-remove-backslash-before-in-double-quotes-in-variable.patch
|
||||
Url: http://gondor.apana.org.au/~herbert/dash/
|
||||
BuildRequires: libedit-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -42,21 +42,20 @@ possible without sacrificing speed where possible.
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --with-libedit
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# move to /bin and symlink to /usr/bin
|
||||
%__mkdir_p $RPM_BUILD_ROOT/bin
|
||||
%__mv $RPM_BUILD_ROOT/usr/bin/dash $RPM_BUILD_ROOT/bin
|
||||
%__ln_s ../../bin/dash $RPM_BUILD_ROOT/usr/bin/dash
|
||||
# compatibility symlink to /bin
|
||||
mkdir -p %{buildroot}/bin
|
||||
ln -s %{_bindir}/dash %{buildroot}/bin/dash
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog
|
||||
%doc %{_mandir}/man1/dash.1*
|
||||
/usr/bin/dash
|
||||
%{_bindir}/dash
|
||||
/bin/dash
|
||||
%{_mandir}/man1/dash.1*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user