+++ /dev/null
-Be graceful to some ksh-originated shells (only mksh >= 40b seems to have a fix for RH BZ#49691)
---- xz-5.2.6/src/scripts/xzgrep.in.orig 2022-08-12 12:48:29.000000000 +0200
-+++ xz-5.2.6/src/scripts/xzgrep.in 2022-08-16 19:01:35.106707142 +0200
-@@ -209,7 +209,7 @@ for i; do
- # which prints "binary file matches" to stderr instead of stdout.
- #
- # If reading from stdin, let grep use whatever name it prefers for
-- # stdin. With GNU grep it's a locale-specific translated string.
-+ # stdin. With GNU grep it is a locale-specific translated string.
- if test "x$i" = "x-"; then
- eval "$grep -H"
- else
Summary: LZMA Encoder/Decoder
Summary(pl.UTF-8): Koder/Dekoder LZMA
Name: xz
-Version: 5.2.6
-Release: 2
+Version: 5.2.7
+Release: 1
Epoch: 1
License: LGPL v2.1+, helper scripts on GPL v2+
Group: Applications/Archiving
Source0: https://tukaani.org/xz/%{name}-%{version}.tar.bz2
-# Source0-md5: 2138d1c1ccd9cc4c972fd89cff0bb2b4
+# Source0-md5: 154ab8026a415ea6d3026a2c9dc59ec5
Patch0: %{name}-parallel.patch
Patch1: %{name}-memlimit.patch
-Patch2: %{name}-ksh.patch
URL: https://tukaani.org/xz/
%{?with_asm:BuildRequires: gcc >= 5:3.4}
BuildRequires: rpm >= 4.4.9-56
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
%configure \