diff --git a/.gitignore b/.gitignore index bdce92b..58f8ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /qtimageformats-everywhere-src-6.1.0.tar.xz /qtimageformats-everywhere-src-6.1.1.tar.xz /qtimageformats-everywhere-src-6.1.2.tar.xz +/qtimageformats-everywhere-src-6.2.0-beta4.tar.xz diff --git a/qt6-qtimageformats.spec b/qt6-qtimageformats.spec index 3d63f8c..d40a4e3 100644 --- a/qt6-qtimageformats.spec +++ b/qt6-qtimageformats.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 qtimageformats +%global unstable 1 +%if 0%{unstable} +%global prerelease beta4 +%endif + Summary: Qt6 - QtImageFormats 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 details License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://www.qt.io %global majmin %(echo %{version} | cut -d. -f1-2) -Source0: https://download.qt.io/official_releases/additional_libraries/%{qt_module}/%{majmin}/%{version}/%{qt_module}-everywhere-src-%{version}.tar.xz +%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++ @@ -40,7 +55,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 rm -rv src/3rdparty @@ -70,6 +85,9 @@ rm -rv src/3rdparty %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 a6e35ba..8454762 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtimageformats-everywhere-src-6.1.2.tar.xz) = 53a698de0b7518346649e47604d43e6d0dc5e3ab219ce32802748e028820140b6f881a3f74b26d6f9f5b79417c0c09eefd0de7baed3c8bd9d69cfac51dfa10ff +SHA512 (qtimageformats-everywhere-src-6.2.0-beta4.tar.xz) = adf746259920267bc37c2aa9c997f51bd251c480b3287e75ccbb34095a31773174bcc14f30844847f2e2465fd3f2ac61b262453bafc821276f992c12d4e7002d