15
0
forked from pool/python-PyOgg

Accepting request 766124 from home:lnussel:branches:devel:languages:python

- Recommend shared library package name rather than actual soname.
  Depending on arch, the soname would only pull in the -32bit
  packages.

OBS-URL: https://build.opensuse.org/request/show/766124
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyOgg?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal
2020-01-21 20:09:21 +00:00
committed by Git OBS Bridge
parent a3222e6e69
commit 506b037baa
2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 21 16:46:25 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- Recommend shared library package name rather than actual soname.
Depending on arch, the soname would only pull in the -32bit
packages.
-------------------------------------------------------------------
Wed Jan 15 12:18:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -36,12 +36,12 @@ BuildRequires: pkgconfig(opusfile)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(vorbisfile)
# Automatically get so numbers
Recommends: %( ls %{_libdir}/libogg.so.*.*.* | sed -r 's/.*(libogg\.so\.[0-9]*)\..*/\1/g' )
Recommends: %( ls %{_libdir}/libopus.so.*.*.* | sed -r 's/.*(libopus\.so\.[0-9]*)\..*/\1/g' )
Recommends: %( ls %{_libdir}/libopusenc.so.*.*.* | sed -r 's/.*(libopusenc\.so\.[0-9]*)\..*/\1/g' )
Recommends: %( ls %{_libdir}/libopusfile.so.*.*.* | sed -r 's/.*(libopusfile\.so\.[0-9]*)\..*/\1/g' )
Recommends: %( ls %{_libdir}/libvorbisenc.so.*.*.* | sed -r 's/.*(libvorbisenc\.so\.[0-9]*)\..*/\1/g' )
Recommends: %( ls %{_libdir}/libvorbisfile.so.*.*.* | sed -r 's/.*(libvorbisfile\.so\.[0-9]*)\..*/\1/g' )
Recommends: %( ls %{_libdir}/libogg.so.*.*.* | sed -r 's/.*(libogg)\.so\.([0-9]*)\..*/\1\2/g' )
Recommends: %( ls %{_libdir}/libopus.so.*.*.* | sed -r 's/.*(libopus)\.so\.([0-9]*)\..*/\1\2/g' )
Recommends: %( ls %{_libdir}/libopusenc.so.*.*.* | sed -r 's/.*(libopusenc)\.so\.([0-9]*)\..*/\1\2/g' )
Recommends: %( ls %{_libdir}/libopusfile.so.*.*.* | sed -r 's/.*(libopusfile)\.so\.([0-9]*)\..*/\1\2/g' )
Recommends: %( ls %{_libdir}/libvorbisenc.so.*.*.* | sed -r 's/.*(libvorbisenc)\.so\.([0-9]*)\..*/\1\2/g' )
Recommends: %( ls %{_libdir}/libvorbisfile.so.*.*.* | sed -r 's/.*(libvorbisfile)\.so\.([0-9]*)\..*/\1\2/g' )
Recommends: libflac
Recommends: libvorbis
BuildArch: noarch