diff --git a/.gitignore b/.gitignore index ab83674..345efd6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /qtnetworkauth-everywhere-src-6.1.0.tar.xz /qtnetworkauth-everywhere-src-6.1.1.tar.xz /qtnetworkauth-everywhere-src-6.1.2.tar.xz +/qtnetworkauth-everywhere-src-6.2.0-beta4.tar.xz diff --git a/qt6-qtnetworkauth.spec b/qt6-qtnetworkauth.spec index 6afd90f..d3331e2 100644 --- a/qt6-qtnetworkauth.spec +++ b/qt6-qtnetworkauth.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 qtnetworkauth +%global unstable 1 +%if 0%{unstable} +%global prerelease beta4 +%endif + Summary: Qt6 - NetworkAuth 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) -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 # filter plugin/qml provides %global __provides_exclude_from ^(%{_qt6_archdatadir}/qml/.*\\.so|%{_qt6_plugindir}/.*\\.so)$ @@ -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 %build @@ -80,12 +95,16 @@ popd %{_qt6_libdir}/cmake/Qt6NetworkAuth/*.cmake %{_qt6_archdatadir}/mkspecs/modules/qt_lib_networkauth*.pri %{_qt6_datadir}/modules/*.json +%{_qt6_libdir}/metatypes/qt6*_metatypes.json %files examples %{_qt6_examplesdir}/ %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 949bcdd..f92bb64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtnetworkauth-everywhere-src-6.1.2.tar.xz) = b437274ea3936e78c9a8695de2bfb07674249c68e28bc21cb1bf2021fe8a5faed1b2c3fadad049cfa7704423ee5f6b45b66aa10c21561631a582f98998276605 +SHA512 (qtnetworkauth-everywhere-src-6.2.0-beta4.tar.xz) = 50b0b41ea5458f83f92f149bb998197f7eaaf46a7b5639de00bb7c4ef131d7e4f2f8698a0a87233fd0724808c2a98258f22557614c263cfc4445044269ca1541