Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package extra-cmake-modules for 
openSUSE:Factory checked in at 2021-10-18 21:58:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/extra-cmake-modules (Old)
 and      /work/SRC/openSUSE:Factory/.extra-cmake-modules.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "extra-cmake-modules"

Mon Oct 18 21:58:22 2021 rev:94 rq:924407 version:5.87.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/extra-cmake-modules/extra-cmake-modules.changes  
2021-09-16 23:14:54.483813004 +0200
+++ 
/work/SRC/openSUSE:Factory/.extra-cmake-modules.new.1890/extra-cmake-modules.changes
        2021-10-18 21:59:47.669989502 +0200
@@ -1,0 +2,18 @@
+Sun Oct  3 20:33:31 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.87.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.87.0
+- Changes since 5.86.0:
+  * Add Gitlab CI configuration
+  * Add -Werror=init-self to the default CMAKE_CXX_FLAGS
+  * Handle git remotes that aren't called origin in _repository_name()
+  * Fix UDev URL
+  * python: Bump maximum version for Python 3 module generator check.
+  * clang-format: extend ForeachMacros
+  * Avoid raising an error for submodule git trees.
+  * Make sphinx happier about syntax
+  * KDEClangFormat: Check for autogeneration notice instead of copyright text
+
+-------------------------------------------------------------------

Old:
----
  extra-cmake-modules-5.86.0.tar.xz
  extra-cmake-modules-5.86.0.tar.xz.sig

New:
----
  extra-cmake-modules-5.87.0.tar.xz
  extra-cmake-modules-5.87.0.tar.xz.sig

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

Other differences:
------------------
++++++ extra-cmake-modules.spec ++++++
--- /var/tmp/diff_new_pack.p9onLu/_old  2021-10-18 21:59:48.309989965 +0200
+++ /var/tmp/diff_new_pack.p9onLu/_new  2021-10-18 21:59:48.313989968 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define _tar_path 5.86
+%define _tar_path 5.87
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
@@ -25,7 +25,7 @@
 # Only needed for the package signature condition
 %bcond_without lang
 Name:           extra-cmake-modules
-Version:        5.86.0
+Version:        5.87.0
 Release:        0
 Summary:        CMake modules
 License:        BSD-3-Clause

++++++ extra-cmake-modules-5.86.0.tar.xz -> extra-cmake-modules-5.87.0.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-5.86.0/.gitlab-ci.yml 
new/extra-cmake-modules-5.87.0/.gitlab-ci.yml
--- old/extra-cmake-modules-5.86.0/.gitlab-ci.yml       1970-01-01 
01:00:00.000000000 +0100
+++ new/extra-cmake-modules-5.87.0/.gitlab-ci.yml       2021-09-29 
10:37:10.000000000 +0200
@@ -0,0 +1,5 @@
+# SPDX-FileCopyrightText: 2020 Volker Krause <[email protected]>
+# SPDX-License-Identifier: CC0-1.0
+
+include:
+  - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-5.86.0/CMakeLists.txt 
new/extra-cmake-modules-5.87.0/CMakeLists.txt
--- old/extra-cmake-modules-5.86.0/CMakeLists.txt       2021-09-01 
06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/CMakeLists.txt       2021-09-29 
10:37:10.000000000 +0200
@@ -11,7 +11,7 @@
 # Preliminary setup
 #
 
-set(VERSION "5.86.0") # handled by release scripts
+set(VERSION "5.87.0") # handled by release scripts
 
 if (POLICY CMP0048)
     cmake_policy(SET CMP0048 NEW)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/find-modules/FindPythonModuleGeneration.cmake 
new/extra-cmake-modules-5.87.0/find-modules/FindPythonModuleGeneration.cmake
--- 
old/extra-cmake-modules-5.86.0/find-modules/FindPythonModuleGeneration.cmake    
    2021-09-01 06:23:13.000000000 +0200
+++ 
new/extra-cmake-modules-5.87.0/find-modules/FindPythonModuleGeneration.cmake    
    2021-09-29 10:37:10.000000000 +0200
@@ -162,14 +162,19 @@
 
 if (NOT GPB_PYTHON3_LIBRARY)
   set(_PYTHON3_MIN_VERSION 4)
-  set(_PYTHON3_MAX_VERSION 10)
 
-  _find_python(3 ${_PYTHON3_MAX_VERSION}) # Canary check
+  # This value is safe to increment over time, it is used only as a reasonable
+  # upper bound to start searching from
+  set(_PYTHON3_MAX_VERSION 50)
+
+  _find_python(3 ${_PYTHON3_MAX_VERSION})
 
   if (GPB_PYTHON3_LIBRARY)
     message(FATAL_ERROR "The max python version in ${CMAKE_FIND_PACKAGE_NAME} 
must be updated.")
   endif()
 
+  # Look for the highest supported version of Python 3 by looking for a minor
+  # version that doesn't exist and decrementing until we find a match.
   set(_PYTHON3_FIND_VERSION ${_PYTHON3_MAX_VERSION})
 
   while(NOT GPB_PYTHON3_LIBRARY
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/find-modules/FindUDev.cmake 
new/extra-cmake-modules-5.87.0/find-modules/FindUDev.cmake
--- old/extra-cmake-modules-5.86.0/find-modules/FindUDev.cmake  2021-09-01 
06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/find-modules/FindUDev.cmake  2021-09-29 
10:37:10.000000000 +0200
@@ -67,5 +67,5 @@
 include(FeatureSummary)
 set_package_properties(UDev PROPERTIES
     DESCRIPTION "API for enumerating and introspecting local devices (part of 
systemd)"
-    URL "https://freedesktop.org/wiki/Software/systemd/";
+    URL "https://www.freedesktop.org/wiki/Software/systemd/";
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/kde-modules/KDECMakeSettings.cmake 
new/extra-cmake-modules-5.87.0/kde-modules/KDECMakeSettings.cmake
--- old/extra-cmake-modules-5.86.0/kde-modules/KDECMakeSettings.cmake   
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/kde-modules/KDECMakeSettings.cmake   
2021-09-29 10:37:10.000000000 +0200
@@ -297,14 +297,24 @@
 # Download translations
 
 function(_repository_name reponame dir)
-    execute_process(COMMAND git remote get-url --all origin
-        OUTPUT_VARIABLE giturl
+    execute_process(COMMAND git rev-parse --symbolic-full-name @{u}
+        OUTPUT_VARIABLE upstream_ref
         RESULT_VARIABLE exitCode
         WORKING_DIRECTORY "${dir}")
+    string(REGEX REPLACE "refs/remotes/([^/]+)/.*" "\\1" gitorigin 
"${upstream_ref}")
+    if(exitCode EQUAL 0)
+        message(DEBUG "Git upstream inferred as ${gitorigin}, upstream ref was 
${upstream_ref}")
+        execute_process(COMMAND git remote get-url --all "${gitorigin}"
+            OUTPUT_VARIABLE giturl
+            RESULT_VARIABLE exitCode
+            WORKING_DIRECTORY "${dir}")
+    endif()
 
     if(exitCode EQUAL 0)
+        message(DEBUG "Git URL inferred as ${giturl}")
         string(REGEX MATCHALL ".+kde\\.org[:\\/]([-A-Za-z0-9\\/]+)(.git)?\\s*" 
"" ${giturl})
         set(${reponame} ${CMAKE_MATCH_1})
+        message(DEBUG "Repository inferred as ${${reponame}}")
     endif()
 
     if(NOT ${reponame})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/kde-modules/KDEClangFormat.cmake 
new/extra-cmake-modules-5.87.0/kde-modules/KDEClangFormat.cmake
--- old/extra-cmake-modules-5.86.0/kde-modules/KDEClangFormat.cmake     
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/kde-modules/KDEClangFormat.cmake     
2021-09-29 10:37:10.000000000 +0200
@@ -56,8 +56,8 @@
 if(KDE_CLANG_FORMAT_EXECUTABLE)
     set(CLANG_FORMAT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/.clang-format)
     if (EXISTS ${CLANG_FORMAT_FILE})
-        file(READ ${CLANG_FORMAT_FILE} CLANG_FORMAT_CONTENTS LIMIT 128)
-        string(FIND "${CLANG_FORMAT_CONTENTS}" "SPDX-FileCopyrightText: 2019 
Christoph Cullmann" matchres)
+        file(READ ${CLANG_FORMAT_FILE} CLANG_FORMAT_CONTENTS LIMIT 1000)
+        string(FIND "${CLANG_FORMAT_CONTENTS}" "This file got automatically 
created by ECM, do not edit" matchres)
         if(${matchres} EQUAL -1)
             message(WARNING "The .clang-format file already exists. Please 
remove it in order to use the file provided by ECM")
         else()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/kde-modules/KDECompilerSettings.cmake 
new/extra-cmake-modules-5.87.0/kde-modules/KDECompilerSettings.cmake
--- old/extra-cmake-modules-5.86.0/kde-modules/KDECompilerSettings.cmake        
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/kde-modules/KDECompilerSettings.cmake        
2021-09-29 10:37:10.000000000 +0200
@@ -557,7 +557,7 @@
 if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES 
"Clang")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${_KDE_GCC_COMMON_WARNING_FLAGS} 
-Wnon-virtual-dtor -Woverloaded-virtual")
     # Make some warnings errors
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type 
-Werror=init-self")
 endif()
 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR
     (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION 
VERSION_GREATER_EQUAL 3.5))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/kde-modules/KDEGitCommitHooks.cmake 
new/extra-cmake-modules-5.87.0/kde-modules/KDEGitCommitHooks.cmake
--- old/extra-cmake-modules-5.86.0/kde-modules/KDEGitCommitHooks.cmake  
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/kde-modules/KDEGitCommitHooks.cmake  
2021-09-29 10:37:10.000000000 +0200
@@ -56,7 +56,7 @@
     set(GIT_DIR "${CMAKE_SOURCE_DIR}/.git")
 
     # In case of tarballs there is no .git directory
-    if (EXISTS ${GIT_DIR})
+    if (IS_DIRECTORY ${GIT_DIR})
         # The pre-commit hook is a bash script, consequently it won't work on 
non-unix platforms
         # git on Windows provides its own bash
         if (UNIX OR WIN32)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/kde-modules/clang-format.cmake 
new/extra-cmake-modules-5.87.0/kde-modules/clang-format.cmake
--- old/extra-cmake-modules-5.86.0/kde-modules/clang-format.cmake       
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/kde-modules/clang-format.cmake       
2021-09-29 10:37:10.000000000 +0200
@@ -79,7 +79,7 @@
 AlwaysBreakTemplateDeclarations: true
 
 # macros for which the opening brace stays attached.
-ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, 
QBENCHMARK, QBENCHMARK_ONCE ]
+ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, 
QBENCHMARK, QBENCHMARK_ONCE , wl_resource_for_each, wl_resource_for_each_safe ]
 
 # keep lambda formatting multi-line if not empty
 AllowShortLambdasOnASingleLine: Empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/modules/ECMCheckOutboundLicense.cmake 
new/extra-cmake-modules-5.87.0/modules/ECMCheckOutboundLicense.cmake
--- old/extra-cmake-modules-5.86.0/modules/ECMCheckOutboundLicense.cmake        
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/modules/ECMCheckOutboundLicense.cmake        
2021-09-29 10:37:10.000000000 +0200
@@ -40,9 +40,8 @@
 compatible with the specified license headers. Note that a convenient way is 
to use
 the CMake GLOB command of the FILE function.
 
-``LICENSES``  : List of one or multiple outbound license regarding which the 
compatibility
-                 of the source code files shall be tested. Currently, the 
following values
-                are supported (values are SPDX registry identifiers):
+``LICENSES``  : List of one or multiple outbound license regarding which the 
compatibility of the source code files shall be tested.
+                Currently, the following values are supported (values are SPDX 
registry identifiers):
                    * MIT
                    * BSD-2-Clause
                    * BSD-3-Clause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-5.86.0/toolchain/Android.cmake 
new/extra-cmake-modules-5.87.0/toolchain/Android.cmake
--- old/extra-cmake-modules-5.86.0/toolchain/Android.cmake      2021-09-01 
06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/toolchain/Android.cmake      2021-09-29 
10:37:10.000000000 +0200
@@ -122,6 +122,7 @@
 
 The following packaging options are mainly interesting for automation or 
integration
 with CI/CD pipelines:
+
 ``ANDROID_APK_OUTPUT_DIR``
     Specifies a folder where the generated APK files should be placed.
 ``ANDROID_FASTLANE_METADATA_OUTPUT_DIR``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.86.0/toolchain/generate-fastlane-metadata.py 
new/extra-cmake-modules-5.87.0/toolchain/generate-fastlane-metadata.py
--- old/extra-cmake-modules-5.86.0/toolchain/generate-fastlane-metadata.py      
2021-09-01 06:23:13.000000000 +0200
+++ new/extra-cmake-modules-5.87.0/toolchain/generate-fastlane-metadata.py      
2021-09-29 10:37:10.000000000 +0200
@@ -339,7 +339,9 @@
 
     # Try to figure out the source repository
     if arguments.source and os.path.exists(os.path.join(arguments.source, 
'.git')):
-        output = subprocess.check_output('git remote show -n origin', 
shell=True, cwd = arguments.source).decode('utf-8')
+        upstream_ref = subprocess.check_output(['git', 'rev-parse', 
'--symbolic-full-name', '@{u}'], cwd=arguments.source).decode('utf-8')
+        remote = upstream_ref.split('/')[2]
+        output = subprocess.check_output(['git', 'remote', 'show', '-n', 
remote], cwd=arguments.source).decode('utf-8')
         result = re.search(' Fetch URL: (.*)\n', output)
         data['source-repo'] = result.group(1)
 

Reply via email to