Hello community,

here is the log from the commit of package python3-pyside2 for openSUSE:Factory 
checked in at 2020-04-27 23:32:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pyside2 (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pyside2.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pyside2"

Mon Apr 27 23:32:23 2020 rev:10 rq:797587 version:5.14.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pyside2/python3-pyside2.changes  
2020-02-28 15:21:22.909898074 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-pyside2.new.2738/python3-pyside2.changes    
    2020-04-27 23:32:30.142835088 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 12:46:58 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to support clang 10:
+  * 0001-shiboken-Support-Clang-version-10.patch
+
+-------------------------------------------------------------------

New:
----
  0001-shiboken-Support-Clang-version-10.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pyside2.spec ++++++
--- /var/tmp/diff_new_pack.zTQ8iL/_old  2020-04-27 23:32:32.794840265 +0200
+++ /var/tmp/diff_new_pack.zTQ8iL/_new  2020-04-27 23:32:32.798840272 +0200
@@ -33,11 +33,14 @@
 Group:          Development/Languages/Python
 URL:            http://wiki.qt.io/Qt_for_Python
 Source0:        
https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-%{version}-src/pyside-setup-opensource-src-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
 Patch0:         lib64.patch
 # PATCH-FIX-UPSTREAM
 Patch1:         0001-Don-t-try-to-install-or-use-uic-rcc-designer-copies.patch
 # PATCH-FIX-OPENSUSE
 Patch2:         0002-Fix-the-openSUSE-executable-names.patch
+# PATCH-FIX-UPSTREAM
+Patch3:         0001-shiboken-Support-Clang-version-10.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -122,6 +125,7 @@
 %setup -q -n pyside-setup-opensource-src-%{version}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %if "%{_lib}" == "lib64"
 %patch0 -p1
 %endif

++++++ 0001-shiboken-Support-Clang-version-10.patch ++++++
>From 9ae63824a5ec550e82561b9f07fc6307ae1f3cec Mon Sep 17 00:00:00 2001
From: Friedemann Kleint <[email protected]>
Date: Mon, 6 Apr 2020 08:15:11 +0200
Subject: [PATCH] shiboken: Support Clang version 10

Adapt the version check of the internal include directory to parse the
entire directory (typically named like 9.0.0) as version number
instead of just checking the first digit.

Change-Id: I7e09c36fd523328e962c7f2acbc8385787e94998
Fixes: PYSIDE-1259
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
---
 sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp 
b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
index d3e5e212..188725da 100644
--- a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
+++ b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
@@ -274,7 +274,7 @@ static QString findClangBuiltInIncludesDir()
         for (const QFileInfo &fi : versionDirs) {
             const QString fileName = fi.fileName();
             if (fileName.at(0).isDigit()) {
-                const QVersionNumber versionNumber = 
QVersionNumber::fromString(fileName.at(0));
+                const QVersionNumber versionNumber = 
QVersionNumber::fromString(fileName);
                 if (!versionNumber.isNull() && versionNumber > 
lastVersionNumber) {
                     candidate = fi.absoluteFilePath();
                     lastVersionNumber = versionNumber;
-- 
2.26.1


Reply via email to