diff --git a/fix-reading-a-file-list-from-stdin.patch b/fix-reading-a-file-list-from-stdin.patch new file mode 100644 index 0000000..c721d50 --- /dev/null +++ b/fix-reading-a-file-list-from-stdin.patch @@ -0,0 +1,25 @@ +From d10d941db89d919f3963f8dc9c0113b3d0e40854 Mon Sep 17 00:00:00 2001 +From: Aleksey +Date: Fri, 17 Jul 2020 07:06:33 +0300 +Subject: [PATCH] fix reading a file-list from stdin + +--- + find_file.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/find_file.c b/find_file.c +index 00c7c9a..927a8a8 100644 +--- a/find_file.c ++++ b/find_file.c +@@ -80,7 +80,7 @@ void file_search_add_file(file_search_data* data, tstr_t path, unsigned file_mod + } + if (IS_DASH_TSTR(path)) + { +- file_search_add_special_file(data, (FileIsRoot | FileIsStdin), NULL); ++ file_search_add_special_file(data, (file_mode | FileIsStdin), NULL); + return; + } + +-- +2.27.0 + diff --git a/rhash.spec b/rhash.spec index b9a9391..e1530b9 100644 --- a/rhash.spec +++ b/rhash.spec @@ -1,10 +1,11 @@ Name: rhash Version: 1.4.0 -Release: 2 +Release: 3 Summary: Great utility for computing hash sums License: MIT URL: https://github.com/rhash/RHash Source0: https://github.com/rhash/RHash/archive/v%{version}/rhash-%{version}.tar.gz +Patch0: fix-reading-a-file-list-from-stdin.patch BuildRequires: gcc @@ -63,6 +64,9 @@ make test-shared %{_mandir}/man1/*.1* %changelog +* Fri Nov 24 2023 fandehui - 1.4.0-3 +- fix reading a file-list from stdin + * Thu Apr 8 2021 shenyangyang - 1.4.0-2 - Delete unneeded build requires