Accepting request 104009 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/104009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mxml?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2012-02-16 09:06:24 +00:00 committed by Git OBS Bridge
commit 8bb5c6ddde
2 changed files with 10 additions and 9 deletions

View File

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

View File

@ -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,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: mxml
@ -45,13 +44,12 @@ Authors:
%define library_name libmxml1
%package -n libmxml1
License: LGPL-2.1+
%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.
@ -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