From 912cb7150aa3807e1183f0591f80a8b36400cc75b12bf60562496dadc53fe887 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 18 Oct 2011 15:33:14 +0000 Subject: [PATCH] Different xz unpack strategy for SLE11 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=2 --- gsoap.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gsoap.spec b/gsoap.spec index 84383ee..3df947a 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -63,7 +63,12 @@ Requires: %name = %version This package contains the development files for libgsoap. %prep +%if 0%{?__xz:1} %setup -qn gsoap-%version +%else +tar -xf "%{S:0}" --use=xz; +%setup -DTq +%endif %patch -P 1 -P 2 -P 3 -p1 %build