SHA256
1
0
forked from pool/libHX

Unpack strategy for SLE11

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libHX?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2012-01-28 11:38:07 +00:00 committed by Git OBS Bridge
parent 9dec34d9d0
commit f17cbdcbff

View File

@ -1,7 +1,7 @@
# #
# spec file for package libHX # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake gcc-c++ pkgconfig xz BuildRequires: automake gcc-c++ pkgconfig xz
URL: http://libhx.sf.net/ Url: http://libhx.sf.net/
%description %description
libHX is a C library (with some C++ bindings available) that provides libHX is a C library (with some C++ bindings available) that provides
@ -95,7 +95,12 @@ Authors:
Jan Engelhardt <jengelh [at] medozas de> Jan Engelhardt <jengelh [at] medozas de>
%prep %prep
%if 0%{?__xz:1}
%setup -q %setup -q
%else
tar -xf "%{S:0}" --use=xz;
%setup -DTq
%endif
%build %build
./autogen.sh ./autogen.sh