Sync from SUSE:SLFO:Main fish revision 0c7c73e961e6af75a25a8ee4e6d98f66

This commit is contained in:
Adrian Schröter 2024-09-30 10:54:49 +02:00
parent c134304a84
commit dd9cffbb63
6 changed files with 108 additions and 34 deletions

BIN
fish-3.6.4.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEnh3gZzzMAykZ0YUmwLlpspdOiI4FAmVvM/MACgkQwLlpspdO
iI5Tnw/+LaEsY3oiE3WPLgoDphzZ93T/qq7E5v4Xdna9k+stvujCykKCuVzbiQ2i
kr1ISa2nobYmMN73Fbpxc9hiISwaG47Wz3nZuIDmKRsEonzxRA8YY8NqobJ3yXH5
UtIdwzhR3nY91a4py8fBt/jjUXGK+W5RvbHSaP3i3hHQZaSQPlOZ7B3aByhtkYSt
9HIZAUBM1FshLmuaGOJFzTvmutOvlvf4z0Bt147biE+wogdhaaGTEfrlkKml3TbK
kBPIjTUAHFMPkZ+XjSPyzsCCD+zvyW9oDSuuXhYvmpGUOSAd+4Efmcp6zVNewAlV
el94tDhRxLBpm1J42hQO2ie/zMtbx8zBBZ4jqB1YdoqoR1a9ELFlTcOGEY0cPxVg
bb1cZ4K+XgLMHCVWEUWV9nNRCcaup5Uydr09CH/aQOdlt+is6M0Gl/iKZnOnx4Mr
yeq4bDnc487UbJoIw4WTsNH9muHPD1Z2qNUvtmDhbkTdFxDUkh0TpFa7de+gqKJI
DKtaN8fqsGzw7B4+xY7VlnLUePJNgZ6lrlA9XgRwuOa1quhdAt+AVAoF0MB2bSLv
EGB7FJ3ID78bbznf8EOrKM4lPCJcVv6093cuE+SSNSiQv90wjgm4a46yHnYYCjNG
nfFTtKDw0NjgXZWlxnfDk0Xj4QHqv5BTD6jbtvV97vbFWwbojpY=
=mUGV
-----END PGP SIGNATURE-----

BIN
fish-3.7.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

16
fish-3.7.1.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEnh3gZzzMAykZ0YUmwLlpspdOiI4FAmX5EKYACgkQwLlpspdO
iI5nwA/+Pp2y+/gdWdYffM7VwndSZy/QIvmTzCOAOvB4fWRQcYNibdEeLSuU5z0g
SljV3zyQpstrO3NGnWKOl1P/o5Itk1H6vha9RpEpBok8TCbuDBOuvnTQVraJKYfF
h7BsuNUHPF2NORpxp00eNSmLPIgR3p/DndRG2d3ti25tOKQ5rAP7azX3xmzKy0D5
nw1jGB/yTN/a0iVEL4/0m3M7p3E4Pz58G8CxavUPwoF/yDnhNm1IcjiS4QEw5AJh
DXtJP8x1QP0gfXmA+nZFfdTPHNOxpct7yDcxV0JRHxhEvqbwRc0sEnXXp0zrZT4m
wb3PNh/TxGjNIw0sX9wHb6yEJ4TYHkv+e4BfoJbU9OFsLPaE/5WBDg1+z9vqBYzr
r7l/MfvJIXMqSMlcFmccJzQ9Xu0OpsyRsLAOTgwI8Zu7uEXUlqh3wpAq7JkYtBMg
Js1UrdlT1QFm1F0qJ4SDZ3SXdSkcosT6U7FfTL2XpinHZnT/2jBcUUGWM7UyW+6I
9lNMQs+K7jR545nvt4lp3ODuhnqvLkGzfzE75DH/iPfUj1K/Q3wBU2MYXMZriGKX
jpiXDI+cYWzUgRdEB7FS1RQ3AJZzYJ37DikCazvCCARUeByaSnSwG3D4ch//TPFI
W7e94aS89l2A4SuIi6dU2/ZUlZSojSTcwIF9PpoZ0se6e/8x4uY=
=0Gvd
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,68 @@
-------------------------------------------------------------------
Fri Jun 14 12:38:33 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang_path macro, [bsc#1212476]
-------------------------------------------------------------------
Wed Jun 12 15:55:31 UTC 2024 - Elisei Roca <eroca@suse.com>
- add Requires: gzip for extracting manual archives
for example when running `fish_config -h`
-------------------------------------------------------------------
Thu Apr 4 09:09:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.7.1:
* Deleting the last history entry via `history delete` works
again (#10190).
* Wildcards (`*`) will no longer sometimes generate paths that
did not exist (#10205).
* A crash when trying to run an ELF program with a missing
interpreter has been fixed. This crashed in the process after
fork, so did not affect the fish process that tried to start
the program (#10199).
* `funced` will now always `source` the file after it has
written it, even if the contents did not change. This
prevents issues if the file was otherwise modified (#10318).
* The warning for when a builtin returns a negative exit code
was improved, now mentioning the original status (#10187).
* Added completions for `cobra-cli`, `dmidecode`, `mycli`,
`ollama`, `pstree`
-------------------------------------------------------------------
Tue Jan 30 10:17:54 UTC 2024 - Simon Lees <sflees@suse.de>
- Fix changelog timestamp in the last entry
- Hard code rather then use -DCMAKE_INSTALL_DOCDIR:PATH=%{__cmake_make_prefix_relative %{_docdir}/%{name}
It was causing issues with the 15.5 build
-------------------------------------------------------------------
Wed Jan 24 14:38:01 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix build to cope with changes in (open)SUSE specific cmake
macros, move documentation to canonical location.
-------------------------------------------------------------------
Mon Jan 1 18:42:02 UTC 2024 - Victorhck <victorhck@opensuse.org>
- Update to 3.7.0:
* The history pager will now also attempt subsequence matches (#9476),
so you can find a command line like git log 3.6.1..Integration_3.7.0 by searching for gitInt.
* Opening the history pager will now fill the search field with a search string if youre already
in a search (#10005). This makes it nicer to search something with ↑ and then later decide
to switch to the full pager.
* Closing the history pager with enter will now copy the search text to the commandline
if there was no match, so you can continue editing the command you tried to find right away (#9934).
* Performance improvements for command completions and globbing, where supported by the operating system,
especially on slow filesystems such as NFS (#9891, #9931, #10032, #10052).
* fish can now be configured to wait a specified amount of time for a multi-key sequence to be completed,
instead of waiting indefinitely. For example, this makes binding kj to switching modes in vi mode possible.
The timeout can be set via the new fish_sequence_key_delay_ms variable (#7401),
and may be set by default in future versions.
* See https://github.com/fish-shell/fish-shell/releases/tag/3.7.0
for more details
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 6 12:42:56 UTC 2023 - Dan Čermák <dcermak@suse.com> Wed Dec 6 12:42:56 UTC 2023 - Dan Čermák <dcermak@suse.com>
@ -23,7 +88,7 @@ Wed Dec 6 12:42:56 UTC 2023 - Dan Čermák <dcermak@suse.com>
While this may cause unexpected behavior with direct input, this may become a minor security problem While this may cause unexpected behavior with direct input, this may become a minor security problem
if the output is being fed from an external program into a command substitution where this output if the output is being fed from an external program into a command substitution where this output
may not be expected. (bsc#1217808, CVE-2023-49284) may not be expected. (bsc#1217808, CVE-2023-49284)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 5 08:08:21 UTC 2023 - Dan Čermák <dcermak@suse.com> Tue Dec 5 08:08:21 UTC 2023 - Dan Čermák <dcermak@suse.com>
@ -88,7 +153,7 @@ Tue Apr 18 03:15:56 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
Tue Jan 17 11:23:02 UTC 2023 - Paolo Stivanin <info@paolostivanin.com> Tue Jan 17 11:23:02 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- update to 3.6.0: - update to 3.6.0:
* By default, Control-R now opens the command history in the pager, * By default, Control-R now opens the command history in the pager,
* Abbrevations are more flexible * Abbrevations are more flexible
* The \\x and \\X escape syntax is now equivalent. \\xAB previously * The \\x and \\X escape syntax is now equivalent. \\xAB previously
behaved the same as \\XAB, except that it would error if the value “AB” was larger than “7f” behaved the same as \\XAB, except that it would error if the value “AB” was larger than “7f”
@ -196,7 +261,7 @@ Wed Mar 16 06:35:37 UTC 2022 - pgajdos@suse.com
per-repository configuration. This avoids a potential security per-repository configuration. This avoids a potential security
issue in some circumstances, and has been assigned CVE-2022-20001 issue in some circumstances, and has been assigned CVE-2022-20001
(#8589). [bsc#1197139] (#8589). [bsc#1197139]
* see https://github.com/fish-shell/fish-shell/releases/tag/3.4.0 * see https://github.com/fish-shell/fish-shell/releases/tag/3.4.0
for more details for more details
------------------------------------------------------------------- -------------------------------------------------------------------
@ -214,7 +279,7 @@ Thu Sep 2 20:39:41 UTC 2021 - Victorhck <victorhck@opensuse.org>
* The prompt and command line are redrawn correctly in response to universal variable changes. * The prompt and command line are redrawn correctly in response to universal variable changes.
* A superfluous error that was produced when setting the PATH or CDPATH environment variables to include colon-delimited components that do not exist was removed. * A superfluous error that was produced when setting the PATH or CDPATH environment variables to include colon-delimited components that do not exist was removed.
* The Vi mode indicator in the prompt is repainted correctly after Ctrl-C cancels the current command. * The Vi mode indicator in the prompt is repainted correctly after Ctrl-C cancels the current command.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 18 22:39:41 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org> Sun Apr 18 22:39:41 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
@ -249,7 +314,7 @@ Thu Mar 18 17:40:37 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
* fish_git_prompt no longer causes screen flickering in certain terminals * fish_git_prompt no longer causes screen flickering in certain terminals
* fish_add_path manipulates the fish_user_paths variable correctly * fish_add_path manipulates the fish_user_paths variable correctly
when moving multiple paths when moving multiple paths
* Pasting with a multi-line command no longer causes * Pasting with a multi-line command no longer causes
__fish_tokenizer_state error __fish_tokenizer_state error
* psub inside event handlers cleans up temporary files properly * psub inside event handlers cleans up temporary files properly
* Event handlers declared with --on-job-exit $fish_pid no longer run * Event handlers declared with --on-job-exit $fish_pid no longer run
@ -274,7 +339,7 @@ Thu Mar 18 17:40:37 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 9 05:43:01 UTC 2021 - Samu Voutilainen <smar@smar.fi> Tue Mar 9 05:43:01 UTC 2021 - Samu Voutilainen <smar@smar.fi>
- Define GenericName and proper category in fish.desktop - Define GenericName and proper category in fish.desktop
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 1 15:43:22 UTC 2021 - Paolo Stivanin <info@paolostivanin.com> Mon Mar 1 15:43:22 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
@ -291,14 +356,14 @@ Mon Mar 1 15:43:22 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
as fish variables as fish variables
* Globs and other expansions are limited to 512,288 results * Globs and other expansions are limited to 512,288 results
* A new "fish for bash users" documentation page gives a quick overview * A new "fish for bash users" documentation page gives a quick overview
of the scripting differences between bash and fish of the scripting differences between bash and fish
* Range limits in index range expansions like $x[$start..$end] * Range limits in index range expansions like $x[$start..$end]
may be omitted: $start and $end default to 1 and -1 may be omitted: $start and $end default to 1 and -1
* the type, _ (gettext), . (source) and : (no-op) functions * the type, _ (gettext), . (source) and : (no-op) functions
are now implemented builtins for performance purposes are now implemented builtins for performance purposes
* The output for set --show has been shortened * The output for set --show has been shortened
* string sub has a new --end option to specify the end index of * string sub has a new --end option to specify the end index of
a substring a substring
* string trim now also trims vertical tabs by default * string trim now also trims vertical tabs by default
* string repeat now handles multiple arguments, repeating each one * string repeat now handles multiple arguments, repeating each one
* The true and false builtins ignore any arguments * The true and false builtins ignore any arguments

View File

@ -1,7 +1,7 @@
# #
# spec file for package fish # spec file for package fish
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,11 +17,11 @@
Name: fish Name: fish
Version: 3.6.4 Version: 3.7.1
Release: 0 Release: 0
Summary: The "friendly interactive shell" Summary: The "friendly interactive shell"
# see bundled doc_src/license.rst # see bundled doc_src/license.rst
License: GPL-2.0-only AND BSD-3-Clause AND ISC AND LGPL-2.0-or-later AND MIT AND PSF-2.0 License: BSD-3-Clause AND GPL-2.0-only AND ISC AND LGPL-2.0-or-later AND MIT AND PSF-2.0
Group: System/Shells Group: System/Shells
URL: https://fishshell.com/ URL: https://fishshell.com/
Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.xz Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.xz
@ -40,6 +40,7 @@ BuildRequires: update-desktop-files
BuildRequires: procps BuildRequires: procps
Requires: awk Requires: awk
Requires: bc Requires: bc
Requires: gzip
Requires: man Requires: man
Recommends: terminfo Recommends: terminfo
@ -67,17 +68,25 @@ find share/tools -type f -name *.py -exec \
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
-DCMAKE_INSTALL_DOCDIR:PATH=share/doc/packages/fish \
%{nil}
%cmake_build
%install %install
%cmake_install %cmake_install
%find_lang %{name} %find_lang %{name}
rm %{buildroot}/%{_datadir}/doc/fish/.buildinfo # Location varies between TW and SLE/Leap, try both
rm %{buildroot}/%{_datadir}/doc/packages/fish/.buildinfo
%suse_update_desktop_file -G "Command-line interpreter" fish TerminalEmulator %suse_update_desktop_file -G "Command-line interpreter" fish TerminalEmulator
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}/%{_datadir}/%{name}/tools/*.py
%endif
%check %check
pushd build pushd build
%make_build test %make_build test
@ -102,7 +111,7 @@ fi
%{_bindir}/fish %{_bindir}/fish
%{_bindir}/fish_indent %{_bindir}/fish_indent
%{_bindir}/fish_key_reader %{_bindir}/fish_key_reader
%{_datadir}/doc/%{name} %doc %{_datadir}/doc/packages/%{name}
%{_datadir}/%{name} %{_datadir}/%{name}
%{_mandir}/man1/*.1%{?ext_man} %{_mandir}/man1/*.1%{?ext_man}
%{_datadir}/applications/fish.desktop %{_datadir}/applications/fish.desktop