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)