commit c507e73d031628cecbf4998dfa373e2d48dd3cb6
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Feb 20 17:38:08 2017 +0100
Switch source url on purpose
vlc.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index 52bfb79..2409cf6 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -1,4 +1,9 @@
%global vlc_rc -20170220-0237-git
+%if 0%{?vlc_rc:1}
+%global vlc_url
http://nightlies.videolan.org/build/source/
+%else
+%global vlc_url
http://download.videolan.org/pub/videolan/vlc/
+%endif
%global _with_bootstrap 1
%global _with_workaround_circle_deps 1
%if 0%{?!_without_freeworld:1}
@@ -37,9 +42,7 @@ Release: 0.16%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL:
http://www.videolan.org
-#Source0:
http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}%{...
-# nightly for 3.0
-Source0:
http://nightlies.videolan.org/build/source/vlc-%{version}%{?vlc_rc}.tar.xz
+Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_rc}.tar.xz
Patch0: disable_hidpi_scaling.patch
Patch1: 0001-Fix-lirc-activation-after-detection.patch
Patch2: 0001-Revert-qt-add-Wayland-run-time-detection.patch