Accepting request 103180 from devel:libraries:c_c++

- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags

OBS-URL: https://build.opensuse.org/request/show/103180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunistring?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2012-02-10 16:17:34 +00:00 committed by Git OBS Bridge
commit d59e809d2f
2 changed files with 13 additions and 15 deletions

View File

@ -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

View File

@ -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