From 3f717710c75b11e23a51c06a468368d537e4dd0b8462496252fc19648a958df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Sat, 11 Mar 2017 16:19:04 +0000 Subject: [PATCH] Accepting request 478671 from home:jengelh:branches:multimedia:libs - Rename %soname to %sover to better reflect its use. RPM group fix. OBS-URL: https://build.opensuse.org/request/show/478671 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/opus?expand=0&rev=26 --- opus.changes | 6 ++++++ opus.spec | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/opus.changes b/opus.changes index 1ae6473..afbeceb 100644 --- a/opus.changes +++ b/opus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 11 14:27:30 UTC 2017 - jengelh@inai.de + +- Rename %soname to %sover to better reflect its use. + RPM group fix. + ------------------------------------------------------------------- Sun Feb 26 23:08:38 UTC 2017 - zaitor@opensuse.org diff --git a/opus.spec b/opus.spec index a2acb58..0b0555b 100644 --- a/opus.spec +++ b/opus.spec @@ -17,13 +17,13 @@ # -%define soname 0 +%define sover 0 Name: opus Version: 1.1.4 Release: 0 Summary: Opus Audio Codec Library License: BSD-3-Clause -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://opus-codec.org/ Source: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz Source99: baselibs.conf @@ -35,11 +35,11 @@ The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec. -%package -n libopus%{soname} +%package -n libopus%{sover} Summary: Opus Audio Codec Library Group: System/Libraries -%description -n libopus%{soname} +%description -n libopus%{sover} The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec. @@ -47,7 +47,7 @@ technology from Skype's SILK codec and Xiph.Org's CELT codec. %package -n libopus-devel Summary: Opus Audio Codec Library Development Environment Group: Development/Libraries/C and C++ -Requires: libopus%{soname} = %{version} +Requires: libopus%{sover} = %{version} %description -n libopus-devel The Opus codec is designed for interactive speech and audio transmission over @@ -86,15 +86,15 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print -%post -n libopus%{soname} -p /sbin/ldconfig +%post -n libopus%{sover} -p /sbin/ldconfig -%postun -n libopus%{soname} -p /sbin/ldconfig +%postun -n libopus%{sover} -p /sbin/ldconfig -%files -n libopus%{soname} +%files -n libopus%{sover} %defattr(-,root,root) %doc AUTHORS COPYING README -%{_libdir}/libopus.so.%{soname} -%{_libdir}/libopus.so.%{soname}.* +%{_libdir}/libopus.so.%{sover} +%{_libdir}/libopus.so.%{sover}.* %files -n libopus-devel %defattr(-,root,root)