From cd8c559cea17dbd077e9baee1a8723c8c7d566eb Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Thu, 30 Sep 2021 13:29:28 +0200 Subject: [PATCH] Fix build --- qt6-qtbase.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qt6-qtbase.spec b/qt6-qtbase.spec index 587c74f..f6a57a2 100644 --- a/qt6-qtbase.spec +++ b/qt6-qtbase.spec @@ -36,12 +36,12 @@ BuildRequires: pkgconfig(libsystemd) ## skip for now, until we're better at it --rex #global tests 1 -%global unstable 0 +#global unstable 0 %global prerelease rc2 Name: qt6-qtbase Summary: Qt6 - QtBase components -Version: 6.2.0 +Version: 6.2.0%{?unstable:~%{prerelease}} Release: 1%{?dist} # See LGPL_EXCEPTIONS.txt, for exception details @@ -50,7 +50,7 @@ Url: http://qt-project.org/ %global majmin %(echo %{version} | cut -d. -f1-2) %global qt_version %(echo %{version} | cut -d~ -f1) -%if 0%{unstable} +%if 0%{?unstable} Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/submodules/%{qt_module}-everywhere-src-%{qt_version}-%{prerelease}.tar.xz %else Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz