Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qca for openSUSE:Factory checked in at 2022-11-04 17:31:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qca (Old) and /work/SRC/openSUSE:Factory/.qca.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qca" Fri Nov 4 17:31:43 2022 rev:6 rq:1033036 version:2.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/qca/qca.changes 2021-10-26 20:13:32.706005094 +0200 +++ /work/SRC/openSUSE:Factory/.qca.new.2275/qca.changes 2022-11-04 17:31:46.947802507 +0100 @@ -1,0 +2,23 @@ +Wed Oct 26 08:54:32 UTC 2022 - Fabian Vogt <[email protected]> + +- BR ca-certificates-mozilla for the testsuite +- Have the devel package require the library +- Drop qca-2.3.0-fixDSA.patch, that was fixed in 2014 already by + just disabling DSA +- Add upstream change: + * 0001-hashunittest-run-sha384longtest-only-for-providers-t.patch + +------------------------------------------------------------------- +Wed Oct 19 06:15:22 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 2.3.5 + * find dependencies of Qca when the cmake package is used by a + project + * Handle openssl without case5 support + * Update rootcerts.pem + * SafeSocketNotifier: fix socket FD type and remove signal + argument +- Drop patch, merged upstream: + * 0001-Make-filewatchunittest-much-quicker.patch + +------------------------------------------------------------------- Old: ---- 0001-Make-filewatchunittest-much-quicker.patch qca-2.3.0-fixDSA.patch qca-2.3.4.tar.xz qca-2.3.4.tar.xz.sig New: ---- 0001-hashunittest-run-sha384longtest-only-for-providers-t.patch qca-2.3.5.tar.xz qca-2.3.5.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qca.spec ++++++ --- /var/tmp/diff_new_pack.BwaTm2/_old 2022-11-04 17:31:47.615806101 +0100 +++ /var/tmp/diff_new_pack.BwaTm2/_new 2022-11-04 17:31:47.619806123 +0100 @@ -1,7 +1,7 @@ # # spec file for package qca # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,7 +38,7 @@ %define _soversion 2 %bcond_without pkcs11 Name: qca%{pkgname_suffix} -Version: 2.3.4 +Version: 2.3.5 Release: 0 Summary: Qt Cryptographic Architecture 2 License: LGPL-2.1-or-later @@ -46,11 +46,9 @@ Source0: https://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz Source1: https://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz.sig Source2: qca.keyring -# PATCH-FIX-OPENSUSE -Patch0: qca-2.3.0-fixDSA.patch # PATCH-FIX-UPSTREAM -Patch1: 0001-Make-filewatchunittest-much-quicker.patch -BuildRequires: ca-certificates +Patch0: 0001-hashunittest-run-sha384longtest-only-for-providers-t.patch +BuildRequires: ca-certificates-mozilla BuildRequires: cmake BuildRequires: gpg2 BuildRequires: libgcrypt-devel @@ -104,6 +102,7 @@ %package devel Summary: Development files for the Qt Cryptographic Architecture 2 +Requires: libqca-%{flavor}-%{_soversion} = %{version} %if 0%{?qt5} Requires: cmake(Qt5Core) >= %{qt_min_version} Requires: cmake(Qt5Network) >= %{qt_min_version} @@ -147,7 +146,7 @@ %cmake \ %else %cmake_qt6 \ - -DQT6=ON \ + -DBUILD_WITH_QT6=ON \ %endif -DBUILD_TESTS=ON \ -DQCA_INSTALL_IN_QT_PREFIX=ON \ @@ -170,6 +169,13 @@ %check export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH +%if 0%{?qt5} +export QT_PLUGIN_PATH=%{buildroot}%{_libqt5_plugindir}:%{_libqt5_plugindir} +%else +export QT_PLUGIN_PATH=%{buildroot}%{_qt6_pluginsdir}:%{_qt6_pluginsdir} +%endif +# The 'PGP' test fails randomly +%define _smp_mflags -j1 %ctest %post -n libqca-%{flavor}-%{_soversion} -p /sbin/ldconfig ++++++ 0001-hashunittest-run-sha384longtest-only-for-providers-t.patch ++++++ >From 33a35a699928318032f62eab0e39e263c604ad9e Mon Sep 17 00:00:00 2001 From: Pino Toscano <[email protected]> Date: Sat, 22 Oct 2022 13:51:17 +0200 Subject: [PATCH] hashunittest: run sha384longtest only for providers that support sha384 Fixes commit bdb0e9d37d78ec8e01d4008dba5243afe9029346 that accidentally left the wrong logic when refactoring the file, and makes the check as done in the other longtest tests. --- unittest/hashunittest/hashunittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/hashunittest/hashunittest.cpp b/unittest/hashunittest/hashunittest.cpp index c2c25a0e..b208c94f 100644 --- a/unittest/hashunittest/hashunittest.cpp +++ b/unittest/hashunittest/hashunittest.cpp @@ -581,7 +581,7 @@ void HashUnitTest::sha384longtest() fillerString.fill('a', 1000); foreach (QString provider, providersToTest) { - if (!QCA::isSupported("sha384", provider)) { + if (QCA::isSupported("sha384", provider)) { // QTime t; // t.start(); QCA::Hash shaHash(QStringLiteral("sha384"), provider); -- 2.38.0 ++++++ qca-2.3.4.tar.xz -> qca-2.3.5.tar.xz ++++++ ++++ 2538 lines of diff (skipped)
