The package rpms/mingw-qt6-qtlocation.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mingw-qt6-qtlocation.git/commit/?....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit b7dc2eac4c06e6e637fbe9fd229fa096772a0b94
Author: Sandro Mani <manisandro(a)gmail.com>
Date: Wed Nov 3 14:34:59 2021 +0100
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9bfc20c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtlocation-everywhere-src-6.2.0.tar.xz
diff --git a/mingw-qt6-qtlocation.spec b/mingw-qt6-qtlocation.spec
new file mode 100644
index 0000000..eb7a9c0
--- /dev/null
+++ b/mingw-qt6-qtlocation.spec
@@ -0,0 +1,166 @@
+%{?mingw_package_header}
+
+%global qt_module qtlocation
+#global pre rc2
+
+#global commit f28408346243cf090326f4738fd838219c21e00f
+#global shortcommit %%(c=%%{commit}; echo ${c:0:7})
+
+%if 0%{?commit:1}
+%global source_folder %{qt_module}-%{commit}
+%else
+%global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}}
+%endif
+
+# first two digits of version
+%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
+Name: mingw-qt6-%{qt_module}
+Version: 6.2.0
+Release: 3%{?pre:.%pre}%{?dist}
+Summary: Qt6 for Windows - QtLocation component
+# Native build is not available for s390x
+# BUG:
https://bugreports.qt.io/browse/QTBUG-93101
+ExcludeArch: s390x
+
+# Base license is LGPLv3 or GPLv2
+# Some example and doc files are BSD 3-Clause License, but are not installed
+# Documentation files are GNU Free Documentation License v1.3, but are not installed
+# 3rdparty/clip2tri is MIT, see ./src/3rdparty/clip2tri/LICENSE
+# 3rdparty/poly2tri is BSD, see ./src/3rdparty/poly2tri/LICENSE
+# 3rdparty/clipper ist Boost, see ./src/3rdparty/clipper/LICENSE
+License: (LGPLv3 or GPLv2) and MIT and BSD and Boost
+URL:
http://qt.io/
+
+%if 0%{?commit:1}
+Source0:
https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywh...
+%else
+Source0:
http://download.qt.io/%{?pre:development}%{?!pre:official}_releases/qt/%{...
+%endif
+
+BuildArch: noarch
+
+BuildRequires: cmake
+BuildRequires: ninja-build
+
+BuildRequires: mingw32-filesystem >= 96
+BuildRequires: mingw32-qt6-qtbase = %{version}
+
+BuildRequires: mingw64-filesystem >= 96
+BuildRequires: mingw64-qt6-qtbase = %{version}
+
+Provides: bundled(clip2tri)
+Provides: bundled(poly2tri)
+Provides: bundled(clipper)
+
+
+%description
+This package contains the Qt software toolkit for developing
+cross-platform applications.
+
+This is the Windows version of Qt, for use in conjunction with the
+Fedora Windows cross-compiler.
+
+
+# Win32
+%package -n mingw32-qt6-%{qt_module}
+Summary: Qt6 for Windows - QtLocation component
+
+%description -n mingw32-qt6-%{qt_module}
+This package contains the Qt software toolkit for developing
+cross-platform applications.
+
+This is the Windows version of Qt, for use in conjunction with the
+Fedora Windows cross-compiler.
+
+
+# Win64
+%package -n mingw64-qt6-%{qt_module}
+Summary: Qt6 for Windows - QtLocation component
+
+%description -n mingw64-qt6-%{qt_module}
+This package contains the Qt software toolkit for developing
+cross-platform applications.
+
+This is the Windows version of Qt, for use in conjunction with the
+Fedora Windows cross-compiler.
+
+
+%{?mingw_debug_package}
+
+
+%prep
+%autosetup -p1 -n %{source_folder}
+
+# Remove bundled but unused dependencies
+rm -rf src/3rdparty/{mapbox-gl-native,earcut,geosimplify.js}
+
+# Postfix licenses of bundled libraries with name of library
+cp -a src/3rdparty/clip2tri/LICENSE LICENSE.clip2tri
+cp -a src/3rdparty/poly2tri/LICENSE LICENSE.poly2tri
+cp -a src/3rdparty/clipper/LICENSE LICENSE.clipper
+
+
+%build
+%mingw_cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo
+%mingw_ninja
+
+
+%install
+%mingw_ninja_install
+
+
+
+# Win32
+%files -n mingw32-qt6-%{qt_module}
+%license LICENSE.LGPL* LICENSE.GPL* LICENSE.clip2tri LICENSE.poly2tri LICENSE.clipper
+%{mingw32_bindir}/Qt6Positioning.dll
+%{mingw32_libdir}/Qt6Positioning.prl
+%{mingw32_libdir}/cmake/Qt6/FindGconf.cmake
+%{mingw32_libdir}/cmake/Qt6/FindGypsy.cmake
+%{mingw32_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtLocationTestsConfig.cmake
+%{mingw32_libdir}/cmake/Qt6Bundled_Clip2Tri/
+%{mingw32_libdir}/libQt6Positioning.dll.a
+%{mingw32_libdir}/cmake/Qt6Positioning/
+%{mingw32_libdir}/metatypes/qt6positioning_relwithdebinfo_metatypes.json
+%{mingw32_libdir}/qt6/mkspecs/modules/qt_lib_positioning.pri
+%{mingw32_libdir}/qt6/mkspecs/modules/qt_lib_positioning_private.pri
+%{mingw32_libdir}/qt6/plugins/position/
+%{mingw32_includedir}/qt6/QtPositioning/
+%{mingw32_datadir}/qt6/modules/Positioning.json
+
+# Win64
+%files -n mingw64-qt6-%{qt_module}
+%license LICENSE.LGPL* LICENSE.GPL* LICENSE.clip2tri LICENSE.poly2tri LICENSE.clipper
+%{mingw64_bindir}/Qt6Positioning.dll
+%{mingw64_libdir}/Qt6Positioning.prl
+%{mingw64_libdir}/cmake/Qt6/FindGconf.cmake
+%{mingw64_libdir}/cmake/Qt6/FindGypsy.cmake
+%{mingw64_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtLocationTestsConfig.cmake
+%{mingw64_libdir}/cmake/Qt6Bundled_Clip2Tri/
+%{mingw64_libdir}/libQt6Positioning.dll.a
+%{mingw64_libdir}/cmake/Qt6Positioning/
+%{mingw64_libdir}/metatypes/qt6positioning_relwithdebinfo_metatypes.json
+%{mingw64_libdir}/qt6/mkspecs/modules/qt_lib_positioning.pri
+%{mingw64_libdir}/qt6/mkspecs/modules/qt_lib_positioning_private.pri
+%{mingw64_libdir}/qt6/plugins/position/
+%{mingw64_includedir}/qt6/QtPositioning/
+%{mingw64_datadir}/qt6/modules/Positioning.json
+
+
+%changelog
+* Tue Oct 26 2021 Sandro Mani <manisandro(a)gmail.com> - 6.2.0-3
+- Base license is LGPLv3 or GPLv2
+
+* Fri Oct 08 2021 Sandro Mani <manisandro(a)gmail.com> - 6.2.0-2
+- Remove unused bundled libraries
+- Clarify license
+
+* Sun Oct 03 2021 Sandro Mani <manisandro(a)gmail.com> - 6.2.0-1
+- Update to 6.2.0
+
+* Wed Sep 29 2021 Sandro Mani <manisandro(a)gmail.com> - 6.2.0-0.2.rc2
+- Update to 6.2.0-rc2
+
+* Thu Sep 23 2021 Sandro Mani <manisandro(a)gmail.com> - 6.2.0-0.1.rc
+- Inital package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8d4ba1e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (qtlocation-everywhere-src-6.2.0.tar.xz) =
ce80941f206380a0e214aaa3e84548166c29e8691ebbf84585cbcb71e151acf52c43bfceb7c641aab0a656d2183d0d36fbd866343578d82c6d87799865fbf073