SHA256
1
0
forked from pool/sratom

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
This commit is contained in:
Dave Plater 2017-01-31 05:22:47 +00:00 committed by Git OBS Bridge
parent 7b077550f1
commit 7c6bb35076
2 changed files with 16 additions and 10 deletions

View File

@ -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 Thu Jan 12 08:32:04 UTC 2017 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package sratom # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,14 @@
# #
%define soname 0 %define sover 0
Name: sratom Name: sratom
Version: 0.4.6 Version: 0.4.6
Release: 0 Release: 0
Summary: A library for serialising LV2 atoms to/from RDF Summary: A library for serialising LV2 atoms to/from RDF
License: ISC License: ISC
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://drobilla.net/software/sratom/ Url: http://drobilla.net/software/sratom/
Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2 Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
@ -38,17 +38,17 @@ BuildRequires: pkgconfig(sord-0) >= 0.12.0
%description %description
A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax. 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 Summary: A library for serialising LV2 atoms to/from RDF
Group: System/Libraries 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. A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax.
%package -n libsratom-0-devel %package -n libsratom-0-devel
Summary: Development files for libsratom Summary: Development files for libsratom
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libsratom-0-%{soname} = %{version} Requires: libsratom-0-%{sover} = %{version}
%description -n libsratom-0-devel %description -n libsratom-0-devel
Development files for libsratom. Development files for libsratom.
@ -70,14 +70,14 @@ export CXXFLAGS='%{optflags}'
%install %install
./waf install --destdir=%{?buildroot} ./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) %defattr(0644,root,root,0755)
%doc COPYING NEWS README %doc COPYING NEWS README
%{_libdir}/libsratom-0.so.%{soname}* %{_libdir}/libsratom-0.so.%{sover}*
%files -n libsratom-0-devel %files -n libsratom-0-devel
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)