Accepting request 102271 from devel:libraries:c_c++

forward

OBS-URL: https://build.opensuse.org/request/show/102271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libservicelog?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2012-02-01 08:58:01 +00:00 committed by Git OBS Bridge
commit 9a58236de5
2 changed files with 25 additions and 36 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jan 31 16:01:42 CET 2012 - meissner@suse.de
- buildreq autoconf and libtool so autoreconf -ivf works again.
-------------------------------------------------------------------
Tue Jan 31 10:41:31 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 2 12:31:42 UTC 2011 - dvaleev@suse.com Wed Nov 2 12:31:42 UTC 2011 - dvaleev@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libservicelog (Version 1.0.1) # spec file for package libservicelog
# #
# Copyright (c) 2010 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
@ -16,18 +16,22 @@
# #
Name: libservicelog Name: libservicelog
Version: 1.1.11 Version: 1.1.11
Release: 1 Release: 0
Summary: Servicelog Database and Library Summary: Servicelog Database and Library
Requires: libservicelog-library
BuildRequires: sqlite3-devel librtas-devel pkg-config
Group: System/Libraries
License: LGPL-2.0+ License: LGPL-2.0+
Group: System/Libraries
Requires: libservicelog-library
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: librtas-devel
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: sqlite3-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://linux-diag.sourceforge.net/servicelog/ Url: http://linux-diag.sourceforge.net/servicelog/
ExclusiveArch: ppc ppc64 ExclusiveArch: ppc ppc64
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
Source2: libservicelog-rpmlintrc Source2: libservicelog-rpmlintrc
@ -42,15 +46,7 @@ allows for the logging of serviceable and informational events, and for
the logging of service procedures that have been performed upon the the logging of service procedures that have been performed upon the
system. system.
Authors:
--------
Mike Strosaker <strosake@austin.ibm.com>
Nathan Fontenot <nfont@austin.ibm.com>
%package -n libservicelog-1_1-1 %package -n libservicelog-1_1-1
License: LGPL-2.0+
Summary: Servicelog Database and Library Summary: Servicelog Database and Library
Group: System/Libraries Group: System/Libraries
Provides: libservicelog-library Provides: libservicelog-library
@ -62,30 +58,15 @@ allows for the logging of serviceable and informational events, and for
the logging of service procedures that have been performed upon the the logging of service procedures that have been performed upon the
system. system.
Authors:
--------
Mike Strosaker <strosake@austin.ibm.com>
Nathan Fontenot <nfont@austin.ibm.com>
%package devel %package devel
License: LGPL-2.0+
Summary: Development files for libservicelog Summary: Development files for libservicelog
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: %{name} = %{version} glibc-devel Requires: %{name} = %{version} glibc-devel
Requires: libservicelog-1_1-1 Requires: libservicelog-1_1-1
%description devel %description devel
Contains header files for building with libservicelog. Contains header files for building with libservicelog.
Authors:
--------
Mike Strosaker <strosake@austin.ibm.com>
Nathan Fontenot <nfont@austin.ibm.com>
%prep %prep
%setup -q %setup -q
%patch0 %patch0
@ -94,16 +75,13 @@ Authors:
%build %build
autoreconf -fiv autoreconf -fiv
export CFLAGS="%{optflags}"
%configure --with-pic --disable-static %configure --with-pic --disable-static
make %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
%{makeinstall} %{makeinstall}
%__rm -f %{buildroot}%{_libdir}/*.la %__rm -f %{buildroot}%{_libdir}/*.la
%clean
%pre %pre
/usr/sbin/groupadd -r service || echo groupadd service failed /usr/sbin/groupadd -r service || echo groupadd service failed