diff --git a/libHX.spec b/libHX.spec index c677862..7a631ab 100644 --- a/libHX.spec +++ b/libHX.spec @@ -1,7 +1,7 @@ # # spec file for package libHX # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,7 @@ Source3: http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake gcc-c++ pkgconfig xz -URL: http://libhx.sf.net/ +Url: http://libhx.sf.net/ %description libHX is a C library (with some C++ bindings available) that provides @@ -95,7 +95,12 @@ Authors: Jan Engelhardt %prep +%if 0%{?__xz:1} %setup -q +%else +tar -xf "%{S:0}" --use=xz; +%setup -DTq +%endif %build ./autogen.sh