From f600085d4dec4b51c647a528ae566f1e669ccea105c2ce242d50542b376d30ec Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 31 Jan 2017 05:16:51 +0000 Subject: [PATCH] Accepting request 453534 from home:jengelh:branches:multimedia:libs - Fix mismatching RPM group - Rename soname macro to sover as it does not contain a name OBS-URL: https://build.opensuse.org/request/show/453534 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=7 --- serd.changes | 6 ++++++ serd.spec | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/serd.changes b/serd.changes index 2039424..28128ec 100644 --- a/serd.changes +++ b/serd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de + +- Fix mismatching RPM group +- Rename soname macro to sover as it does not contain a name + ------------------------------------------------------------------- Thu Jan 12 08:32:04 UTC 2017 - olaf@aepfle.de diff --git a/serd.spec b/serd.spec index 598bf23..721dd04 100644 --- a/serd.spec +++ b/serd.spec @@ -1,7 +1,7 @@ # # spec file for package serd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -%define soname 0 +%define sover 0 Name: serd Version: 0.22.0 Release: 0 Summary: A lightweight C library for RDF syntax License: ISC -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://drobilla.net/software/serd/ Source0: http://download.drobilla.net/serd-%{version}.tar.bz2 Source1: baselibs.conf @@ -43,17 +43,17 @@ Group: Productivity/Editors/Other %description -n serdi Read and write RDF syntax. -%package -n libserd-0-%{soname} +%package -n libserd-0-%{sover} Summary: A lightweight C library for RDF syntax Group: System/Libraries -%description -n libserd-0-%{soname} +%description -n libserd-0-%{sover} A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. %package -n libserd-0-devel Summary: Development files for libserd Group: Development/Libraries/C and C++ -Requires: libserd-0-%{soname} = %{version} +Requires: libserd-0-%{sover} = %{version} %description -n libserd-0-devel Development files for libserd. @@ -75,19 +75,19 @@ export CXXFLAGS='%{optflags}' %install ./waf install --destdir=%{?buildroot} -%post -n libserd-0-%{soname} -p /sbin/ldconfig +%post -n libserd-0-%{sover} -p /sbin/ldconfig -%postun -n libserd-0-%{soname} -p /sbin/ldconfig +%postun -n libserd-0-%{sover} -p /sbin/ldconfig %files -n serdi %defattr(0644,root,root,0755) %attr(0755,root,root) %{_bindir}/serdi %{_mandir}/man1/serdi.1* -%files -n libserd-0-%{soname} +%files -n libserd-0-%{sover} %defattr(0644,root,root,0755) %doc AUTHORS COPYING NEWS README -%{_libdir}/libserd-0.so.%{soname}* +%{_libdir}/libserd-0.so.%{sover}* %files -n libserd-0-devel %defattr(0644,root,root,0755)