From 5c6e45dcd577fb0092ac940b4cd62e631451459c1d97ade4f8c3b5ea909cdbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 27 Jan 2020 09:08:36 +0000 Subject: [PATCH] - OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=186 --- mpv.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mpv.spec b/mpv.spec index 9996973..a51e39a 100644 --- a/mpv.spec +++ b/mpv.spec @@ -136,7 +136,7 @@ of video file formats, audio and video codecs, and subtitle types. %package bash-completion Summary: Bash Completion for %{name} Group: Productivity/Multimedia/Video/Players -Requires: %{name} = %{_mpv_ver} +Requires: %{name} = %{version} Requires: bash-completion Recommends: xrandr Supplements: (mpv and bash) @@ -148,7 +148,7 @@ Bash command line completion support for %{name}. %package zsh-completion Summary: ZSH Completion for %{name} Group: Productivity/Multimedia/Video/Players -Requires: %{name} = %{_mpv_ver} +Requires: %{name} = %{version} Supplements: (mpv and zsh) BuildArch: noarch @@ -158,7 +158,7 @@ ZSH command line completion support for %{name}. %package devel Summary: A library to link together with mpv player Group: Development/Libraries/C and C++ -Requires: %{lname} = %{_mpv_ver} +Requires: %{lname} = %{version} %description devel mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety @@ -188,7 +188,7 @@ chmod a+x waf # I hate UNKNOWN so lets put decent info there. MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")" DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")" -sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{_mpv_ver}\"|g" common/version.c +sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{version}\"|g" common/version.c %build # SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback.