diff --git a/.gitignore b/.gitignore index 8042a4f..7e4160e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /qtscxml-everywhere-src-6.1.1.tar.xz /qtscxml-everywhere-src-6.1.2.tar.xz +/qtscxml-everywhere-src-6.2.0-beta4.tar.xz diff --git a/qt6-qtscxml.spec b/qt6-qtscxml.spec index d04909c..665f501 100644 --- a/qt6-qtscxml.spec +++ b/qt6-qtscxml.spec @@ -1,15 +1,30 @@ +# FIXME: qt6-qtdeclarative doesn't build on S390x +# BUG: https://bugreports.qt.io/browse/QTBUG-93101 +ExcludeArch: s390x + %global qt_module qtscxml +%global unstable 1 +%if 0%{unstable} +%global prerelease beta4 +%endif + Summary: Qt6 - ScXml component Name: qt6-%{qt_module} -Version: 6.1.2 +Version: 6.2.0%{?unstable:~%{prerelease}} Release: 1%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://www.qt.io %global majmin %(echo %{version} | cut -d. -f1-2) +%global qt_version %(echo %{version} | cut -d~ -f1) + +%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 +%endif BuildRequires: cmake BuildRequires: gcc-c++ @@ -43,7 +58,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %prep -%autosetup -n %{qt_module}-everywhere-src-%{version} -p1 +%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1 %build @@ -99,6 +114,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %changelog +* Mon Sep 13 2021 Jan Grulich - 6.2.0~beta4-1 +- 6.2.0 - beta4 + * Thu Aug 12 2021 Jan Grulich - 6.1.2-1 - 6.1.2 diff --git a/sources b/sources index 9f5646d..783d8c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtscxml-everywhere-src-6.1.2.tar.xz) = 40f17034c6101339c1d2ec84468f4a19a4d51fe3a5d262b3d9259f03b116280fe0e5640c3c09ed09f5b92b80ee2cb82b238931d7ffc37ca2294fbe92215a4b52 +SHA512 (qtscxml-everywhere-src-6.2.0-beta4.tar.xz) = 8a46ab326803d2a767532287ab0ecf26bcad7b6c4ab9ba002387c9b45646eab9369698b0a409eb859c073380d4d2325bb9cef112a6cf1f3abd44676d44bbb3ce