From 7c6bb3507615779cad52a8dd2de03d4f124edd1d52c0c7a899398c4576688e9b Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 31 Jan 2017 05:22:47 +0000 Subject: [PATCH] Accepting request 453539 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/453539 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/sratom?expand=0&rev=5 --- sratom.changes | 6 ++++++ sratom.spec | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/sratom.changes b/sratom.changes index a60fa15..d5146fa 100644 --- a/sratom.changes +++ b/sratom.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/sratom.spec b/sratom.spec index 7e8ee5f..dbc499d 100644 --- a/sratom.spec +++ b/sratom.spec @@ -1,7 +1,7 @@ # # spec file for package sratom # -# 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: sratom Version: 0.4.6 Release: 0 Summary: A library for serialising LV2 atoms to/from RDF License: ISC -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://drobilla.net/software/sratom/ Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2 Source1: baselibs.conf @@ -38,17 +38,17 @@ BuildRequires: pkgconfig(sord-0) >= 0.12.0 %description A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax. -%package -n libsratom-0-%{soname} +%package -n libsratom-0-%{sover} Summary: A library for serialising LV2 atoms to/from RDF Group: System/Libraries -%description -n libsratom-0-%{soname} +%description -n libsratom-0-%{sover} A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax. %package -n libsratom-0-devel Summary: Development files for libsratom Group: Development/Libraries/C and C++ -Requires: libsratom-0-%{soname} = %{version} +Requires: libsratom-0-%{sover} = %{version} %description -n libsratom-0-devel Development files for libsratom. @@ -70,14 +70,14 @@ export CXXFLAGS='%{optflags}' %install ./waf install --destdir=%{?buildroot} -%post -n libsratom-0-%{soname} -p /sbin/ldconfig +%post -n libsratom-0-%{sover} -p /sbin/ldconfig -%postun -n libsratom-0-%{soname} -p /sbin/ldconfig +%postun -n libsratom-0-%{sover} -p /sbin/ldconfig -%files -n libsratom-0-%{soname} +%files -n libsratom-0-%{sover} %defattr(0644,root,root,0755) %doc COPYING NEWS README -%{_libdir}/libsratom-0.so.%{soname}* +%{_libdir}/libsratom-0.so.%{sover}* %files -n libsratom-0-devel %defattr(0644,root,root,0755)