Accepting request 419070 from home:jengelh:branches:multimedia:libs

- Rename unfitting macro name "soname"; there is no SONAME here,
  just the version.

OBS-URL: https://build.opensuse.org/request/show/419070
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvpx?expand=0&rev=69
This commit is contained in:
Ismail Dönmez 2016-08-13 16:16:48 +00:00 committed by Git OBS Bridge
parent 944c068cc3
commit e1e190ff69
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 12 17:26:48 UTC 2016 - jengelh@inai.de
- Rename unfitting macro name "soname"; there is no SONAME here,
just the version.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 11 12:42:01 UTC 2016 - olaf@aepfle.de Thu Aug 11 12:42:01 UTC 2016 - olaf@aepfle.de

View File

@ -16,7 +16,7 @@
# #
%define soname 4 %define sover 4
Name: libvpx Name: libvpx
Version: 1.6.0 Version: 1.6.0
@ -62,13 +62,13 @@ WebM files consist of video streams compressed with the VP8 video codec
and audio streams compressed with the Vorbis audio codec. and audio streams compressed with the Vorbis audio codec.
The WebM file structure is based on the Matroska container. The WebM file structure is based on the Matroska container.
%package -n %{name}%{soname} %package -n %{name}%{sover}
Summary: VP8 codec library Summary: VP8 codec library
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: System/Libraries
%description -n %{name}%{soname} %description -n %{name}%{sover}
WebM is an open, royalty-free, media file format designed for the web. WebM is an open, royalty-free, media file format designed for the web.
WebM defines the file container structure, video and audio formats. WebM defines the file container structure, video and audio formats.
@ -80,7 +80,7 @@ The WebM file structure is based on the Matroska container.
Summary: VP8 codec library - Development headers Summary: VP8 codec library - Development headers
License: BSD-3-Clause and GPL-2.0+ License: BSD-3-Clause and GPL-2.0+
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: %{name}%{soname} = %{version} Requires: %{name}%{sover} = %{version}
%description devel %description devel
Development headers and library Development headers and library
@ -134,15 +134,15 @@ make %{?_smp_mflags}
cd build cd build
make DESTDIR=%buildroot install make DESTDIR=%buildroot install
%post -n %{name}%{soname} -p /sbin/ldconfig %post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n vpx-tools %files -n vpx-tools
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%files -n %{name}%{soname} %files -n %{name}%{sover}
%defattr(-, root, root) %defattr(-, root, root)
%doc LICENSE AUTHORS README CHANGELOG %doc LICENSE AUTHORS README CHANGELOG
%{_libdir}/libvpx.so.* %{_libdir}/libvpx.so.*