Rework vlc_tag/rc

el8
Nicolas Chauvet 7 years ago
parent 1348a40191
commit 1a4511cc0f

@ -1,7 +1,7 @@
%global vlc_date 20180921 %global vlc_date 20180921
#global vlc_rc rc9 #global vlc_rc -rc9
%global vlc_tag -%%{?vlc_date}-0223-%%{?vlc_rc} %global vlc_tag -%{?vlc_date}-0223
%if 0%{?vlc_rc:1} %if 0%{?vlc_tag:1}
%global vlc_url https://nightlies.videolan.org/build/source/ %global vlc_url https://nightlies.videolan.org/build/source/
%else %else
%global vlc_url https://download.videolan.org/pub/videolan/vlc/ %global vlc_url https://download.videolan.org/pub/videolan/vlc/
@ -46,7 +46,7 @@ Version: 3.0.5
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://www.videolan.org URL: https://www.videolan.org
Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz Source0: %{vlc_url}/%{?!vlc_tag:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz
Patch0: 0001-Workaround-a-bug-with-.-vlc-cache-gen-on-armhfp.patch Patch0: 0001-Workaround-a-bug-with-.-vlc-cache-gen-on-armhfp.patch
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -286,7 +286,7 @@ VLC media player extras modules.
%prep %prep
%autosetup -p1 -n %{name}-%{version}%{?vlc_rc:-%{vlc_rc}} %autosetup -p1 -n %{name}-%{version}%{?vlc_rc}
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
. /opt/rh/devtoolset-7/enable . /opt/rh/devtoolset-7/enable

Loading…
Cancel
Save