From a062e8cda8505b991dd9770c543fecd864bb2ea2468b2970efba616f6a485c1e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 Jan 2012 13:14:32 +0000 Subject: [PATCH] Remove redundant tags/sections; %_smp_mflags OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libunistring?expand=0&rev=12 --- libunistring.changes | 6 ++++++ libunistring.spec | 22 +++++++--------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/libunistring.changes b/libunistring.changes index 37afdf0..cf73967 100644 --- a/libunistring.changes +++ b/libunistring.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 30 13:11:15 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions +- Parallel building using %_smp_mflags + ------------------------------------------------------------------- Fri Sep 30 20:01:26 UTC 2011 - crrodriguez@opensuse.org diff --git a/libunistring.spec b/libunistring.spec index 0fbd631..c8747e1 100644 --- a/libunistring.spec +++ b/libunistring.spec @@ -1,7 +1,7 @@ # # spec file for package libunistring # -# 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,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: libunistring Version: 0.9.3 -Release: 1 -Group: Development/Libraries/C and C++ +Release: 0 Summary: GNU Unicode string library License: LGPL-3.0+ +Group: Development/Libraries/C and C++ Url: http://www.gnu.org/software/libunistring/ Source0: libunistring-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,9 +34,8 @@ This portable C library implements Unicode string types in three flavours: case folding and regular expressions). %package devel -License: LGPL-3.0+ -Group: Development/Libraries/C and C++ Summary: GNU Unicode string library - development files +Group: Development/Libraries/C and C++ Requires: libunistring0 = %{version} %description devel @@ -47,9 +43,8 @@ Development files for programs using libunistring and documentation for UniString library. %package -n libunistring0 -License: LGPL-3.0+ -Group: Development/Libraries/C and C++ Summary: GNU Unicode string library - development files +Group: Development/Libraries/C and C++ Requires: %{name} %description -n libunistring0 @@ -61,11 +56,11 @@ case folding and regular expressions). %prep -%setup -q -n libunistring-%{version} +%setup -q %build %configure --disable-static --disable-rpath --docdir=%{_docdir}/%{name} -make +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install @@ -78,9 +73,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libunistring.la make check %endif -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig