The package rpms/qt6-qtserialport.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/qt6-qtserialport.git/commit/?id=7....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit a4550e6bc1dbf321c8162070824cb2f7162133fd
Author: Jan Grulich <jgrulich(a)redhat.com>
Date: Thu Sep 30 13:38:45 2021 +0200
6.2.0
diff --git a/.gitignore b/.gitignore
index 34740ae..d3bb199 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/qtserialport-everywhere-src-6.2.0-rc.tar.xz
/qtserialport-everywhere-src-6.2.0-rc2.tar.xz
+/qtserialport-everywhere-src-6.2.0.tar.xz
diff --git a/qt6-qtserialport.spec b/qt6-qtserialport.spec
index 27f4a58..b05eb98 100644
--- a/qt6-qtserialport.spec
+++ b/qt6-qtserialport.spec
@@ -4,8 +4,8 @@ ExcludeArch: s390x
%global qt_module qtserialport
-%global unstable 1
-%if 0%{unstable}
+#global unstable 1
+%if 0%{?unstable}
%global prerelease rc2
%endif
@@ -20,7 +20,7 @@ Url:
http://www.qt.io
%global majmin %(echo %{version} | cut -d. -f1-2)
%global qt_version %(echo %{version} | cut -d~ -f1)
-%if 0%{unstable}
+%if 0%{?unstable}
Source0:
https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/su...
%else
Source0:
https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodul...
@@ -102,6 +102,9 @@ popd
%changelog
+* Thu Sep 30 2021 Jan Grulich <jgrulich(a)redhat.com> - 6.2.0-1
+- 6.2.0
+
* Mon Sep 27 2021 Jan Grulich <jgrulich(a)redhat.com> - 6.2.0~rc2-1
- 6.2.0 - rc2
diff --git a/sources b/sources
index 947066a..28bc6d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qtserialport-everywhere-src-6.2.0-rc2.tar.xz) =
5667085910ae4e40418e55c423c59ae7a3f3cc5161f8a6315f55fe42a568d6df0f3dcec04f63ba327022d63629522e640e7b713361132f71b5693db6702f2ea0
+SHA512 (qtserialport-everywhere-src-6.2.0.tar.xz) =
6f2d0c8f284a084eda9bc07177f11115ba6efa9c73e7bd5ee24d5d182976e8759c5766c8de6a80ccc7bf3e54d9e09a22cb8decbbc8b17edfe23f7a944b5eb6cb
commit ba47521a88caadae16c6e5a3a722d55dbc6257e9
Author: Jan Grulich <jgrulich(a)redhat.com>
Date: Mon Sep 27 14:14:34 2021 +0200
6.2.0 - rc2
diff --git a/.gitignore b/.gitignore
index 0b3c536..34740ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/qtserialport-everywhere-src-6.2.0-rc.tar.xz
+/qtserialport-everywhere-src-6.2.0-rc2.tar.xz
diff --git a/qt6-qtserialport.spec b/qt6-qtserialport.spec
index 97189d4..27f4a58 100644
--- a/qt6-qtserialport.spec
+++ b/qt6-qtserialport.spec
@@ -6,7 +6,7 @@ ExcludeArch: s390x
%global unstable 1
%if 0%{unstable}
-%global prerelease rc
+%global prerelease rc2
%endif
Summary: Qt6 - SerialPort component
@@ -102,5 +102,8 @@ popd
%changelog
+* Mon Sep 27 2021 Jan Grulich <jgrulich(a)redhat.com> - 6.2.0~rc2-1
+- 6.2.0 - rc2
+
* Thu Sep 16 2021 Jan Grulich <jgrulich(a)redhat.com> - 6.2.0~rc-1
- 6.2.0 - rc
diff --git a/sources b/sources
index 5ff585a..947066a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qtserialport-everywhere-src-6.2.0-rc.tar.xz) =
ac1dae254a310a641e6f1e91f02f1ea234e23e8173f62ddc53f9d0e079902b339c471de023d44cd58c9f627f9ab6476d74935f3f4f998fef9c5f8e3bdd8c1e60
+SHA512 (qtserialport-everywhere-src-6.2.0-rc2.tar.xz) =
5667085910ae4e40418e55c423c59ae7a3f3cc5161f8a6315f55fe42a568d6df0f3dcec04f63ba327022d63629522e640e7b713361132f71b5693db6702f2ea0
commit 7fe478a8d2d1ab9403e3b4ad45a55e2757845eb6
Author: Jan Grulich <jgrulich(a)redhat.com>
Date: Mon Sep 20 13:04:22 2021 +0200
6.2.0 - rc
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0b3c536
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtserialport-everywhere-src-6.2.0-rc.tar.xz
diff --git a/README.md b/README.md
deleted file mode 100644
index e702fb5..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# qt6-qtserialport
-
-The qt6-qtserialport package
diff --git a/qt6-qtserialport.spec b/qt6-qtserialport.spec
new file mode 100644
index 0000000..97189d4
--- /dev/null
+++ b/qt6-qtserialport.spec
@@ -0,0 +1,106 @@
+# FIXME: qt6-qtdeclarative doesn't build on S390x
+# BUG:
https://bugreports.qt.io/browse/QTBUG-93101
+ExcludeArch: s390x
+
+%global qt_module qtserialport
+
+%global unstable 1
+%if 0%{unstable}
+%global prerelease rc
+%endif
+
+Summary: Qt6 - SerialPort component
+Name: qt6-%{qt_module}
+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}/su...
+%else
+Source0:
https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodul...
+%endif
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: ninja-build
+BuildRequires: qt6-rpm-macros
+BuildRequires: qt6-qtbase-devel >= %{version}
+BuildRequires: pkgconfig(libudev)
+
+BuildRequires: qt6-qtbase-private-devel
+%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
+
+%description
+Qt Serial Port provides the basic functionality, which includes configuring,
+I/O operations, getting and setting the control signals of the RS-232 pinouts.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: qt6-qtbase-devel%{?_isa}
+%description devel
+%{summary}.
+
+%package examples
+Summary: Programming examples for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description examples
+%{summary}.
+
+
+%prep
+%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1
+
+
+%build
+%cmake_qt6
+
+%cmake_build
+
+
+%install
+%cmake_install
+
+## .prl/.la file love
+# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
+pushd %{buildroot}%{_qt6_libdir}
+for prl_file in libQt6*.prl ; do
+ sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
+ if [ -f "$(basename ${prl_file} .prl).so" ]; then
+ rm -fv "$(basename ${prl_file} .prl).la"
+ sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
+ fi
+done
+popd
+
+
+%ldconfig_scriptlets
+
+%files
+%license LICENSE.*
+%{_qt6_libdir}/libQt6SerialPort.so.6*
+
+%files devel
+%{_qt6_headerdir}/QtSerialPort/
+%{_qt6_libdir}/libQt6SerialPort.so
+%{_qt6_libdir}/libQt6SerialPort.prl
+%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSerialPortTestsConfig.cmake
+%dir %{_qt6_libdir}/cmake/Qt6SerialPort/
+%{_qt6_libdir}/cmake/Qt6SerialPort/*.cmake
+%{_qt6_archdatadir}/mkspecs/modules/qt_lib_serialport*.pri
+%{_qt6_libdir}/metatypes/qt6*_metatypes.json
+%{_qt6_datadir}/modules/*.json
+
+%files examples
+%{_qt6_examplesdir}/
+
+
+%changelog
+* Thu Sep 16 2021 Jan Grulich <jgrulich(a)redhat.com> - 6.2.0~rc-1
+- 6.2.0 - rc
diff --git a/sources b/sources
new file mode 100644
index 0000000..5ff585a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (qtserialport-everywhere-src-6.2.0-rc.tar.xz) =
ac1dae254a310a641e6f1e91f02f1ea234e23e8173f62ddc53f9d0e079902b339c471de023d44cd58c9f627f9ab6476d74935f3f4f998fef9c5f8e3bdd8c1e60