Hello community,
here is the log from the commit of package libHBAAPI2 for openSUSE:Factory checked in at 2012-06-05 15:32:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libHBAAPI2 (Old)
and /work/SRC/openSUSE:Factory/.libHBAAPI2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libHBAAPI2", Maintainer is "hare@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libHBAAPI2/libHBAAPI2.changes 2012-05-08 12:28:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libHBAAPI2.new/libHBAAPI2.changes 2012-06-05 15:32:36.000000000 +0200
@@ -1,0 +2,6 @@
+Tue May 29 10:26:28 UTC 2012 - jengelh@inai.de
+
+- Resolve failure to build package due to automake-1.12 warnings
+ treated as errors
+
+-------------------------------------------------------------------
New:
----
hbaapi-automake.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libHBAAPI2.spec ++++++
--- /var/tmp/diff_new_pack.Tu9M3I/_old 2012-06-05 15:32:37.000000000 +0200
+++ /var/tmp/diff_new_pack.Tu9M3I/_new 2012-06-05 15:32:37.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libHBAAPI2
#
-# 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
@@ -15,43 +15,39 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: libHBAAPI2
Version: 2.2.1
-Release: 2
+Release: 0
Summary: SNIA HBAAPI library
-Group: System/Libraries
License: SUSE-SNIA-1.1
+Group: System/Libraries
Url: http://www.sourceforge.net/projects/hbaapi
Source0: libHBAAPI-v%{version}.tar.bz2
Source1: SNIAv1.1.txt
Patch0: libHBAAPI-makefile-fixup
Patch1: libHBAAPI-build-fixes
-BuildRequires: automake libtool pkg-config
+Patch2: hbaapi-automake.diff
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The SNIA HBA API library
-
-
%package devel
-License: SUSE-SNIA-1.1
Summary: SNIA HBAAPI library
Group: System/Libraries
-Requires: %{name} = %{version}-%{release} pkgconfig
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
%description devel
The SNIA HBA API library
-
-
%prep
%setup -n libHBAAPI-v%{version}
-%patch0 -p1
-%patch1 -p1
+%patch -P 0 -P 1 -P 2 -p1
cp %{S:1} COPYING
%build
@@ -60,11 +56,8 @@
make %{?_smp_mflags}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make install DESTDIR="%buildroot"
+rm -f "%buildroot/%_libdir"/*.la
%post -p /sbin/ldconfig
++++++ hbaapi-automake.diff ++++++
From: Jan Engelhardt