The package rpms/qtspell.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/qtspell.git/commit/?id=135342fa55....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit 135342fa55a24ee981486fd2bcbcdd144c3d6637
Author: Sandro Mani <manisandro(a)gmail.com>
Date: Thu Mar 31 01:04:22 2022 +0200
Add mingw subpackage
diff --git a/qtspell.spec b/qtspell.spec
index a662348..6a5fe50 100644
--- a/qtspell.spec
+++ b/qtspell.spec
@@ -1,6 +1,6 @@
Name: qtspell
Version: 1.0.1
-Release: 2%{?dist}
+Release: 4%{?dist}
Summary: Spell checking for Qt text widgets
License: GPLv3+
@@ -12,14 +12,29 @@ BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
-# Qt6 is not available on s390x
-%ifnarch s390x
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qttools-devel
-%endif
BuildRequires: enchant2-devel
BuildRequires: doxygen
+BuildRequires: mingw32-filesystem >= 95
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-enchant2
+BuildRequires: mingw32-qt5-qtbase
+BuildRequires: mingw32-qt5-qttools
+BuildRequires: mingw32-qt5-qttools-tools
+BuildRequires: mingw32-qt6-qtbase
+BuildRequires: mingw32-qt6-qttools
+
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-enchant2
+BuildRequires: mingw64-qt5-qtbase
+BuildRequires: mingw64-qt5-qttools
+BuildRequires: mingw64-qt5-qttools-tools
+BuildRequires: mingw64-qt6-qtbase
+BuildRequires: mingw64-qt6-qttools
+
Requires: iso-codes
%description
@@ -54,7 +69,6 @@ Requires: qt5-qttranslations
The %{name}-qt5-translations contains translations for %{name}-qt5.
-%ifnarch s390x
%package qt6
Summary: Spell checking for Qt5 text widgets
@@ -80,7 +94,6 @@ Requires: qt6-qttranslations
%description qt6-translations
The %{name}-qt6-translations contains translations for %{name}-qt6.
-%endif
%package doc
@@ -92,6 +105,43 @@ The %{name}-doc package contains the documentation for developing
applications
that use %{name}.
+%package -n mingw32-%{name}-qt5
+Summary: MinGW Windows %{name}-Qt5 library
+Requires: mingw32-qt5-qttranslations
+Obsoletes: mingw32-%{name}-qt5-static
+
+%description -n mingw32-%{name}-qt5
+MinGW Windows %{name}-Qt5 library.
+
+
+%package -n mingw64-%{name}-qt5
+Summary: MinGW Windows %{name}-Qt5 library
+Requires: mingw64-qt5-qttranslations
+Obsoletes: mingw64-%{name}-qt5-static
+
+%description -n mingw64-%{name}-qt5
+MinGW Windows %{name}-Qt5 library.
+
+
+%package -n mingw32-%{name}-qt6
+Summary: MinGW Windows %{name}-Qt6 library
+Requires: mingw32-qt6-qttranslations
+
+%description -n mingw32-%{name}-qt6
+MinGW Windows %{name}-Qt6 library.
+
+
+%package -n mingw64-%{name}-qt6
+Summary: MinGW Windows %{name}-Qt6 library
+Requires: mingw64-qt6-qttranslations
+
+%description -n mingw64-%{name}-qt6
+MinGW Windows %{name}-Qt6 library.
+
+
+%{?mingw_debug_package}
+
+
%prep
%autosetup
@@ -101,23 +151,31 @@ that use %{name}.
%cmake -DQT_VER=5
%cmake_build
-%ifnarch s390x
%define _vpath_builddir %{_target_platform}-qt6
%cmake -DQT_VER=6
%cmake_build
-%endif
make doc -C %{__cmake_builddir}
+%mingw_cmake -DQT_VER=5
+%mingw_make_build
+
+MINGW_BUILDDIR_SUFFIX=qt6 %mingw_cmake -DQT_VER=6
+MINGW_BUILDDIR_SUFFIX=qt6 %mingw_make_build
+
%install
%define _vpath_builddir %{_target_platform}-qt5
%cmake_install
-%ifnarch s390x
%define _vpath_builddir %{_target_platform}-qt6
%cmake_install
-%endif
+
+%mingw_make_install
+MINGW_BUILDDIR_SUFFIX=qt6 %mingw_make_install
+
+
+%mingw_debug_install_post
%files qt5
@@ -132,7 +190,6 @@ make doc -C %{__cmake_builddir}
%files qt5-translations
%{_qt5_translationdir}/QtSpell_*.qm
-%ifnarch s390x
%files qt6
%license COPYING
%{_libdir}/libqtspell-qt6.so.*
@@ -144,7 +201,38 @@ make doc -C %{__cmake_builddir}
%files qt6-translations
%{_qt6_translationdir}/QtSpell_*.qm
-%endif
+
+%files -n mingw32-%{name}-qt5
+%license COPYING
+%{mingw32_bindir}/libqtspell-qt5-1.dll
+%{mingw32_libdir}/libqtspell-qt5.dll.a
+%{mingw32_libdir}/pkgconfig/QtSpell-qt5.pc
+%{mingw32_includedir}/QtSpell-qt5/
+%{mingw32_datadir}/qt5/translations/QtSpell_*.qm
+
+%files -n mingw64-%{name}-qt5
+%license COPYING
+%{mingw64_bindir}/libqtspell-qt5-1.dll
+%{mingw64_libdir}/libqtspell-qt5.dll.a
+%{mingw64_libdir}/pkgconfig/QtSpell-qt5.pc
+%{mingw64_includedir}/QtSpell-qt5/
+%{mingw64_datadir}/qt5/translations/QtSpell_*.qm
+
+%files -n mingw32-%{name}-qt6
+%license COPYING
+%{mingw32_bindir}/libqtspell-qt6-1.dll
+%{mingw32_libdir}/libqtspell-qt6.dll.a
+%{mingw32_libdir}/pkgconfig/QtSpell-qt6.pc
+%{mingw32_includedir}/QtSpell-qt6/
+%{mingw32_datadir}/qt6/translations/QtSpell_*.qm
+
+%files -n mingw64-%{name}-qt6
+%license COPYING
+%{mingw64_bindir}/libqtspell-qt6-1.dll
+%{mingw64_libdir}/libqtspell-qt6.dll.a
+%{mingw64_libdir}/pkgconfig/QtSpell-qt6.pc
+%{mingw64_includedir}/QtSpell-qt6/
+%{mingw64_datadir}/qt6/translations/QtSpell_*.qm
%files doc
%license COPYING
@@ -152,6 +240,9 @@ make doc -C %{__cmake_builddir}
%changelog
+* Sat Feb 19 2022 Sandro Mani <manisandro(a)gmail.com> - 1.0.1-4
+- Add mingw subpackage
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild