From 6f0d2bb9b034281913ae4df9733db4565171d8a120f33e9d4aff7540eeeb3334 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 7 Mar 2015 10:36:08 +0000 Subject: [PATCH] Fix SLE_11_SP3 build OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=49 --- patch.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/patch.spec b/patch.spec index 87110e2..265f164 100644 --- a/patch.spec +++ b/patch.spec @@ -26,6 +26,9 @@ Url: http://ftp.gnu.org/gnu/patch/ Source: http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz Source2: http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=patch&download=1#/patch.keyring +%if 0%{?suse_version} < 1220 +BuildRequires: xz +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build # See bnc#662957. The fix for CVE-2010-4651 breaks the way interdiff was # invoking patch, so interdiff had to be fixed too.