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.