Accepting request 963717 from home:mcepl:branches:shells

- Add 8784-old-school-cmd-subst.patch fixing fish_title.fish

OBS-URL: https://build.opensuse.org/request/show/963717
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=70
This commit is contained in:
2022-03-22 00:05:09 +00:00
committed by Git OBS Bridge
parent d8bac6e08c
commit c884fa951c
3 changed files with 33 additions and 1 deletions

View File

@@ -25,6 +25,9 @@ Group: System/Shells
URL: https://fishshell.com/
Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.xz
Source1: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.xz.asc
# PATCH-FIX-UPSTREAM 8784-old-school-cmd-subst.patch gh#fish-shell/fish-shell#8784 mcepl@suse.com
# Fix a syntax error (fish != bash)
Patch0: 8784-old-school-cmd-subst.patch
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc-c++
@@ -52,7 +55,7 @@ Group: Development/Libraries/C and C++
This package contains development files for the fish shell.
%prep
%setup -q
%autosetup -p1
# fix E: env-script-interpreter
find share/tools -type f -name *.py -exec sed -i -r '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} +