Remove redundant tags/sections; %_smp_mflags

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libservicelog?expand=0&rev=12
This commit is contained in:
Jan Engelhardt 2012-01-31 10:41:37 +00:00 committed by Git OBS Bridge
parent 8611ec5c34
commit 063f91fb0a
2 changed files with 17 additions and 36 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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
# remain the property of their copyright owners, unless otherwise agreed
@ -15,19 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libservicelog
Version: 1.1.11
Release: 1
Release: 0
Summary: Servicelog Database and Library
Requires: libservicelog-library
BuildRequires: sqlite3-devel librtas-devel pkg-config
Group: System/Libraries
License: LGPL-2.0+
Group: System/Libraries
Requires: libservicelog-library
BuildRequires: librtas-devel
BuildRequires: pkg-config
BuildRequires: sqlite3-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://linux-diag.sourceforge.net/servicelog/
ExclusiveArch: ppc ppc64
ExclusiveArch: ppc ppc64
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
Source2: libservicelog-rpmlintrc
@ -42,15 +42,7 @@ allows for the logging of serviceable and informational events, and for
the logging of service procedures that have been performed upon the
system.
Authors:
--------
Mike Strosaker <strosake@austin.ibm.com>
Nathan Fontenot <nfont@austin.ibm.com>
%package -n libservicelog-1_1-1
License: LGPL-2.0+
Summary: Servicelog Database and Library
Group: System/Libraries
Provides: libservicelog-library
@ -62,30 +54,15 @@ allows for the logging of serviceable and informational events, and for
the logging of service procedures that have been performed upon the
system.
Authors:
--------
Mike Strosaker <strosake@austin.ibm.com>
Nathan Fontenot <nfont@austin.ibm.com>
%package devel
License: LGPL-2.0+
Summary: Development files for libservicelog
Group: Development/Libraries/Other
Requires: %{name} = %{version} glibc-devel
Requires: libservicelog-1_1-1
Requires: libservicelog-1_1-1
%description devel
Contains header files for building with libservicelog.
Authors:
--------
Mike Strosaker <strosake@austin.ibm.com>
Nathan Fontenot <nfont@austin.ibm.com>
%prep
%setup -q
%patch0
@ -96,14 +73,12 @@ Authors:
autoreconf -fiv
export CFLAGS="%{optflags}"
%configure --with-pic --disable-static
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%{makeinstall}
%__rm -f %{buildroot}%{_libdir}/*.la
%clean
%pre
/usr/sbin/groupadd -r service || echo groupadd service failed