Accepting request 407900 from home:dimstar:Factory

%requires_eq does not do what we need, so we just do the right thing by ourselves:

the resulting rpm:
rpm -q --requires -p /var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/RPMS/x86_64/mpv-0.18.1-0.x86_64.rpm | grep avcod
libavcodec.so.56()(64bit)
libavcodec.so.56(LIBAVCODEC_56)(64bit)
libavcodec56 = 2.8.6

OBS-URL: https://build.opensuse.org/request/show/407900
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=50
This commit is contained in:
Martin Pluskal 2016-07-12 14:37:34 +00:00 committed by Git OBS Bridge
parent 95be747e6b
commit a8a27f3dfb

View File

@ -93,7 +93,7 @@ BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
# we need to rebuild with every new minor version of ffmpeg
# update soname once it changes
%requires_eq libavcodec56
Requires: %(rpm -qf $(readlink -f %{_libdir}/libavcodec.so) --qf "%%{name} = %%{version}")
# Used via LUA scripts
Recommends: youtube-dl
# Obsoletion of mplayer2 that is dead for 2 years now