From aece8ca23e488c98e314bbb85f6c41a662c4d1681f9a1ed5353891d91cf235eb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 29 Jan 2012 19:56:13 +0000 Subject: [PATCH] Remove redundant tags/sections; smp_mflags OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mxml?expand=0&rev=7 --- mxml.changes | 6 ++++++ mxml.spec | 19 +++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/mxml.changes b/mxml.changes index adc629d..21f2e2c 100644 --- a/mxml.changes +++ b/mxml.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 29 19:52:20 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions +- Parallel building using %_smp_mflags + ------------------------------------------------------------------- Fri Aug 12 19:05:21 UTC 2011 - andrea.turrini@gmail.com diff --git a/mxml.spec b/mxml.spec index 9242810..3384fe0 100644 --- a/mxml.spec +++ b/mxml.spec @@ -1,7 +1,7 @@ # # spec file for package mxml # -# 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,15 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: mxml Url: http://www.easysw.com/~mike/mxml -License: LGPL v2.1 or later +License: LGPL-2.1+ Group: Development/Libraries/Other Version: 2.6 -Release: 1 +Release: 25 Summary: Small XML Parsing Library Source: %{name}-%{version}.tar.bz2 Patch: mxml-2.3-nobinstrip.patch @@ -45,13 +44,12 @@ Authors: %define library_name libmxml1 -%package -n libmxml1 -License: LGPL v2.1 or later +%package -n %library_name Group: Development/Libraries/Other # Summary: Shared library for mxml -%description -n libmxml1 +%description -n %library_name Mini-XML is a small XML parsing library that you can use to read XML and XML-like data files in your application without requiring large nonstandard libraries. @@ -65,7 +63,7 @@ Authors: Michael Sweet %package devel -License: GPL v2 or later +License: GPL-2.0+ Group: Development/Libraries/Other Requires: %{library_name} = %{version} # @@ -90,16 +88,13 @@ Authors: %build %configure --enable-shared --with-docdir=%{_docdir}/%{name} -%{__make} +make %{?_smp_mflags} %install %makeinstall DSTROOT=%{buildroot} # we dont want the static lib %{__rm} -rv %{buildroot}%{_libdir}/libmxml.a -%clean -%{__rm} -rf %{buildroot} - %post -n %{library_name} -p /sbin/ldconfig %postun -n %{library_name} -p /sbin/ldconfig