Accepting request 1093151 from utilities

OBS-URL: https://build.opensuse.org/request/show/1093151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fzf?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2023-06-16 14:53:16 +00:00 committed by Git OBS Bridge
commit 31d5e06a54
6 changed files with 16 additions and 35 deletions

View File

@ -1,28 +0,0 @@
From 448d7e0c5a717128d499f6a09a978b7addd1d925 Mon Sep 17 00:00:00 2001
From: Junegunn Choi <junegunn.c@gmail.com>
Date: Sat, 27 May 2023 16:01:30 +0900
Subject: [PATCH] Update test case
---
src/merger_test.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/merger_test.go b/src/merger_test.go
index 5894bea015..5fd1576fd7 100644
--- a/src/merger_test.go
+++ b/src/merger_test.go
@@ -23,10 +23,10 @@ func randResult() Result {
}
func TestEmptyMerger(t *testing.T) {
- assert(t, EmptyMerger.Length() == 0, "Not empty")
- assert(t, EmptyMerger.count == 0, "Invalid count")
- assert(t, len(EmptyMerger.lists) == 0, "Invalid lists")
- assert(t, len(EmptyMerger.merged) == 0, "Invalid merged list")
+ assert(t, EmptyMerger(0).Length() == 0, "Not empty")
+ assert(t, EmptyMerger(0).count == 0, "Invalid count")
+ assert(t, len(EmptyMerger(0).lists) == 0, "Invalid lists")
+ assert(t, len(EmptyMerger(0).merged) == 0, "Invalid merged list")
}
func buildLists(partiallySorted bool) ([][]Result, []Result) {

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:982682eaac377c8a55ae8d7491fcd0e888d6c13915d01da9ebb6b7c434d7f4b5
size 238333

3
fzf-0.42.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:743c1bfc7851b0796ab73c6da7db09d915c2b54c0dd3e8611308985af8ed3df2
size 239469

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jun 14 15:50:14 UTC 2023 - Joshua Smith <jsmithfpv@gmail.com>
- Update to version 0.42.0:
* Added new info style: --info=right
* Added new info style: --info=inline-right
* Added new border style thinblock which uses Symbols for Legacy
Computing one eighth block elements
* Removed fix-go-test.patch that is no longer needed.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 9 03:32:26 UTC 2023 - Joshua Smith <jsmithfpv@gmail.com> Fri Jun 9 03:32:26 UTC 2023 - Joshua Smith <jsmithfpv@gmail.com>

View File

@ -18,7 +18,7 @@
%global _lto_cflags %{nil} %global _lto_cflags %{nil}
Name: fzf Name: fzf
Version: 0.41.1 Version: 0.42.0
Release: 0 Release: 0
Summary: A command-line fuzzy finder Summary: A command-line fuzzy finder
License: MIT License: MIT
@ -26,7 +26,6 @@ Group: Productivity/File utilities
URL: https://github.com/junegunn/fzf URL: https://github.com/junegunn/fzf
Source0: https://github.com/junegunn/fzf/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/junegunn/fzf/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst Source1: vendor.tar.zst
Patch0: fix-go-test.patch
BuildRequires: zstd BuildRequires: zstd
BuildRequires: golang(API) >= 1.19 BuildRequires: golang(API) >= 1.19

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:13dd686f14ade9712ebe82fb7ac8decb505bb45cedc115f5da1dd03149e60306 oid sha256:294b779db41582ef3d6b539f34807a5abd85b96ea5326a59fd54f47a0cf83bab
size 1649670 size 1652946