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
This commit is contained in:
Bjørn Lie 2017-03-11 16:19:04 +00:00 committed by Git OBS Bridge
parent a09a0e5cc9
commit 3f717710c7
2 changed files with 16 additions and 10 deletions

View File

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

View File

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