Update to 1.20.0 required for a poppler update and Qt6 builds for KDE Gear rpms using Plasma 6.
The change is oriented on the archilinux build requiring a source copy and separate options compiling with qt5 or qt6.
The qgpgme and qgpgme-devel packages have been changed for each build preserving build compaitbility with the qt5 use.
qgpgme -> qgpgme-qt5
qgpgpe-devel: slit into header files qpgpgme-common-devel and qgpgme-qt5-devel, qgpgme-qt6-devel for the Qt6 builds.
When used with Qt6 builds, use BuildRequires: qgpgme-qt6-devel to draw in the right libs and dependencies.
Update gpgme to 1.17.1 (fix libqpgpme ABI, #2127553)
Prepare for distutils drop in Python 3.12+ (#2135758)
Fix tests on 32-bit machines (#2096365)
Use SPDX syntax for License field
Add option to not build Qt binding (qgpgme)
This reverts b46b5db218 which bumped
the libqgpgme soname from 7 to 15.
This was built in a side tag but never actually shipped.
With the Python 3.11 rebuild, the soname bump was merged to rawhide
and blocks the compose:
https://pagure.io/releng/failed-composes/issue/3682
Considering the severity of this
and the fact that the dependent KDE packages FTBFS,
this change is now reverted.
It has never been shipped in a compose, so an epoch bump is not necessary.
We need to pass -b3 to %autorelease to produce
gpgme-1.17.0-3.fc37 instead of gpgme-1.17.0-1.fc37.
When the package is updated again, remove that.
Leaving the tests disabled, because i686 still fails:
https://bugzilla.redhat.com/show_bug.cgi?id=2096365
Disable tests since they are failing since update to 1.17.1.
This change is temporary to not block Python 3.11 mass rebuild,
the fix is on the way.
Related: #2096365
https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild
+ /usr/lib/rpm/check-rpaths
*******************************************************************************
*
* WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause
* 'rpmbuild' to fail. To ignore these errors, you can set the
* '$QA_RPATHS' environment variable which is a bitmask allowing the
* values below. The current value of QA_RPATHS is 0x0000.
*
* 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor
* issue but are introducing redundant searchpaths without
* providing a benefit. They can also cause errors in multilib
* environments.
...
ERROR 0001: file '/usr/bin/gpgme-json' contains a standard runpath '/usr/lib64' in [/usr/lib64]