commit 1a4511cc0f2a340233b2e87ddbaf0a2227ecd58d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Sep 21 16:22:28 2018 +0200
Rework vlc_tag/rc
vlc.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index 99a6f7a..78e1800 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -1,7 +1,7 @@
%global vlc_date 20180921
-#global vlc_rc rc9
-%global vlc_tag -%%{?vlc_date}-0223-%%{?vlc_rc}
-%if 0%{?vlc_rc:1}
+#global vlc_rc -rc9
+%global vlc_tag -%{?vlc_date}-0223
+%if 0%{?vlc_tag:1}
%global vlc_url
https://nightlies.videolan.org/build/source/
%else
%global vlc_url
https://download.videolan.org/pub/videolan/vlc/
@@ -46,7 +46,7 @@ Version: 3.0.5
Release: 1%{?dist}
License: GPLv2+
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
BuildRequires: desktop-file-utils
@@ -286,7 +286,7 @@ VLC media player extras modules.
%prep
-%autosetup -p1 -n %{name}-%{version}%{?vlc_rc:-%{vlc_rc}}
+%autosetup -p1 -n %{name}-%{version}%{?vlc_rc}
%if 0%{?rhel} == 7
. /opt/rh/devtoolset-7/enable