+++ /dev/null
---- fish-3.3.1/CMakeLists.txt.orig 2021-07-06 16:45:37.000000000 +0200
-+++ fish-3.3.1/CMakeLists.txt 2021-07-19 19:39:56.209238876 +0200
-@@ -56,22 +56,6 @@
- # Disable exception handling.
- add_compile_options(-fno-exceptions)
-
--# Prefer lld or the gold linker because they don't emit useless warnings about sys_nerr and
--# _sys_errlist. They're also faster (significantly so in the case of lld).
--if (UNIX)
-- execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=lld -Wl,--version
-- ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)
-- if ("${LD_VERSION}" MATCHES "LLD ")
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld")
-- elseif (NOT APPLE)
-- execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version
-- ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)
-- if ("${LD_VERSION}" MATCHES "GNU gold")
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold")
-- endif()
-- endif()
--endif()
--
- # Hide the CMake Rules directories in Xcode projects.
- source_group("CMake Rules" REGULAR_EXPRESSION "^$")
-
+++ /dev/null
---- fish-3.3.1/cmake/Install.cmake.orig 2021-07-06 16:45:37.000000000 +0200
-+++ fish-3.3.1/cmake/Install.cmake 2021-07-19 20:04:46.496541738 +0200
-@@ -14,7 +14,11 @@
- set(sysconfdir ${CMAKE_INSTALL_SYSCONFDIR})
- set(mandir ${CMAKE_INSTALL_MANDIR})
-
--set(rel_datadir ${CMAKE_INSTALL_DATADIR})
-+if(IS_ABSOLUTE ${CMAKE_INSTALL_DATADIR})
-+ file(RELATIVE_PATH rel_datadir ${CMAKE_INSTALL_PREFIX} ${CMAKE_INSTALL_DATADIR})
-+else()
-+ set(rel_datadir ${CMAKE_INSTALL_DATADIR})
-+endif()
- set(datadir ${CMAKE_INSTALL_FULL_DATADIR})
-
- set(docdir ${CMAKE_INSTALL_DOCDIR})
Summary: fish - A friendly interactive shell
Summary(pl.UTF-8): fish - przyjazna interaktywna powłoka
Name: fish
-Version: 3.3.1
-Release: 4
+Version: 3.6.4
+Release: 1
License: GPL v2
Group: Applications/Shells
Source0: https://github.com/fish-shell/fish-shell/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 94be285255aadfcf0f910bdcc2f56073
-Patch0: %{name}-no_lld.patch
-Patch1: %{name}-rel_datadir.patch
+# Source0-md5: 600c5d8ffa45b1d73b5263809cb5e6f5
URL: http://fishshell.com/
BuildRequires: cmake >= 3.2
BuildRequires: gettext-tools
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' share/tools/{deroff.py,create_manpage_completions.py,web_config/webconfig.py}
+%{__sed} -i -e '1s,/usr/bin/env python3$,%{__python3},' share/tools/create_manpage_completions.py
%build
%cmake -B build
%{_datadir}/%{name}/groff/fish.tmac
%dir %{_datadir}/%{name}/functions
%{_datadir}/%{name}/functions/*.fish
-%{_datadir}/%{name}/lynx.lss
%{_datadir}/%{name}/man
%dir %{_datadir}/%{name}/tools
%attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py
%{_datadir}/%{name}/tools/web_config/js
%{_datadir}/%{name}/tools/web_config/partials
%{_datadir}/%{name}/tools/web_config/sample_prompts
+%{_datadir}/%{name}/tools/web_config/themes
%attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py
%dir %{_datadir}/%{name}/vendor_completions.d
%dir %{_datadir}/%{name}/vendor_conf.d