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 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
@ -15,16 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
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: librtas-devel
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
@ -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 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,15 +54,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 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
@ -79,13 +63,6 @@ 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
@ -96,14 +73,12 @@ Authors:
autoreconf -fiv autoreconf -fiv
export CFLAGS="%{optflags}" 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