From f17cbdcbffdcf06252bbac3a7335449826dc2e4fb45f411ba3dae1364ee2d7ff Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 28 Jan 2012 11:38:07 +0000 Subject: [PATCH 1/2] Unpack strategy for SLE11 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libHX?expand=0&rev=46 --- libHX.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 From f9c89543d6da84b8b2f55c1a9661a87a369930ebd98ad54d893c0ab815124475 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 11 Feb 2012 00:21:03 +0000 Subject: [PATCH 2/2] Adjust autotools BuildRequires OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libHX?expand=0&rev=47 --- libHX.changes | 6 ++++++ libHX.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/libHX.changes b/libHX.changes index 2440f48..8bea921 100644 --- a/libHX.changes +++ b/libHX.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 11 00:12:21 UTC 2012 - jengelh@medozas.de + +- Update autotools BuildRequires (add libtool) for Factory/12.2, + remove unnecessary regeneration stage + ------------------------------------------------------------------- Thu Dec 15 11:27:02 UTC 2011 - jengelh@medozas.de diff --git a/libHX.spec b/libHX.spec index 7a631ab..7917962 100644 --- a/libHX.spec +++ b/libHX.spec @@ -15,20 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: libHX %define lname libHX28 Summary: Useful collection of routines for C and C++ programming -Version: 3.12.1 -Release: 0 License: LGPL-2.1 or LGPL-3.0 Group: Development/Libraries/C and C++ +Version: 3.12.1 +Release: 0 Source: http://downloads.sf.net/libhx/libHX-%version.tar.xz 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 +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: xz Url: http://libhx.sf.net/ %description @@ -103,7 +104,6 @@ tar -xf "%{S:0}" --use=xz; %endif %build -./autogen.sh %configure --includedir=%_includedir/%name-%version make %{?_smp_mflags}