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-04-12 12:34:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/extra-cmake-modules (Old)
and /work/SRC/openSUSE:Factory/.extra-cmake-modules.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "extra-cmake-modules"
Mon Apr 12 12:34:08 2021 rev:88 rq:884227 version:5.81.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/extra-cmake-modules/extra-cmake-modules.changes
2021-03-16 15:41:01.068711992 +0100
+++
/work/SRC/openSUSE:Factory/.extra-cmake-modules.new.2401/extra-cmake-modules.changes
2021-04-12 12:35:41.437232889 +0200
@@ -1,0 +2,11 @@
+Mon Apr 5 07:12:04 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.81.0
+ * New feature release
+ * For more details please see:
+ * https://kde.org/announcements/frameworks/5/5.81.0
+- Changes since 5.80.0:
+ * ECMGenerateExportHeader: do sanity check for version argument values
+ * Fix warning about wayland-scanner code arg
+
+-------------------------------------------------------------------
Old:
----
extra-cmake-modules-5.80.0.tar.xz
extra-cmake-modules-5.80.0.tar.xz.sig
New:
----
extra-cmake-modules-5.81.0.tar.xz
extra-cmake-modules-5.81.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ extra-cmake-modules.spec ++++++
--- /var/tmp/diff_new_pack.axI8dO/_old 2021-04-12 12:35:42.169234022 +0200
+++ /var/tmp/diff_new_pack.axI8dO/_new 2021-04-12 12:35:42.173234028 +0200
@@ -16,7 +16,7 @@
#
-%define _tar_path 5.80
+%define _tar_path 5.81
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
@@ -29,7 +29,7 @@
# Only needed for the package signature condition
%bcond_without lang
Name: extra-cmake-modules
-Version: 5.80.0
+Version: 5.81.0
Release: 0
Summary: CMake modules
License: BSD-3-Clause
++++++ extra-cmake-modules-5.80.0.tar.xz -> extra-cmake-modules-5.81.0.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/extra-cmake-modules-5.80.0/.gitignore
new/extra-cmake-modules-5.81.0/.gitignore
--- old/extra-cmake-modules-5.80.0/.gitignore 2021-02-26 22:48:38.000000000
+0100
+++ new/extra-cmake-modules-5.81.0/.gitignore 2021-03-31 11:41:40.000000000
+0200
@@ -17,6 +17,8 @@
avail
random_seed
/build*/
+/cmake-build*/
+.idea
CMakeLists.txt.user*
*.unc-backup*
__pycache__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/extra-cmake-modules-5.80.0/CMakeLists.txt
new/extra-cmake-modules-5.81.0/CMakeLists.txt
--- old/extra-cmake-modules-5.80.0/CMakeLists.txt 2021-02-26
22:48:38.000000000 +0100
+++ new/extra-cmake-modules-5.81.0/CMakeLists.txt 2021-03-31
11:41:40.000000000 +0200
@@ -11,7 +11,7 @@
# Preliminary setup
#
-set(VERSION "5.80.0") # handled by release scripts
+set(VERSION "5.81.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.80.0/find-modules/FindWaylandScanner.cmake
new/extra-cmake-modules-5.81.0/find-modules/FindWaylandScanner.cmake
--- old/extra-cmake-modules-5.80.0/find-modules/FindWaylandScanner.cmake
2021-02-26 22:48:38.000000000 +0100
+++ new/extra-cmake-modules-5.81.0/find-modules/FindWaylandScanner.cmake
2021-03-31 11:41:40.000000000 +0200
@@ -111,7 +111,7 @@
DEPENDS ${_infile} VERBATIM)
add_custom_command(OUTPUT "${_code}"
- COMMAND ${WaylandScanner_EXECUTABLE} code ${_infile} ${_code}
+ COMMAND ${WaylandScanner_EXECUTABLE} public-code ${_infile} ${_code}
DEPENDS ${_infile} ${_client_header} VERBATIM)
list(APPEND ${out_var} "${_client_header}" "${_code}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.80.0/modules/ECMGenerateExportHeader.cmake
new/extra-cmake-modules-5.81.0/modules/ECMGenerateExportHeader.cmake
--- old/extra-cmake-modules-5.80.0/modules/ECMGenerateExportHeader.cmake
2021-02-26 22:48:38.000000000 +0100
+++ new/extra-cmake-modules-5.81.0/modules/ECMGenerateExportHeader.cmake
2021-03-31 11:41:40.000000000 +0200
@@ -44,7 +44,9 @@
# If not set, the generated code will ignore any such macros.
#
# ``DEPRECATED_BASE_VERSION`` specifies the default version before and at which
-# deprecated API is disabled. The default is the value of
+# deprecated API is disabled. Possible values are "0", "CURRENT" (which
+# resolves to <version>) and a version string in the format
+# "<major>.<minor>.<patchlevel>". The default is the value of
# "<exclude_deprecated_before_and_at_version>" if set, or "<major>.0.0", with
# <major> taken from <version>.
#
@@ -437,9 +439,13 @@
)
cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}"
"${multiValueArgs}" ${ARGN})
+ # helper string
+ set(_version_triple_regexp "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$")
# args sanity check
if (NOT ARGS_VERSION)
message(FATAL_ERROR "No VERSION passed when calling
ecm_generate_export_header().")
+ elseif(NOT ARGS_VERSION MATCHES ${_version_triple_regexp})
+ message(FATAL_ERROR "VERSION expected to be in x.y.z format when
calling ecm_generate_export_header().")
endif()
if (ARGS_INCLUDE_GUARD_NAME AND CMAKE_VERSION VERSION_LESS 3.11)
message(FATAL_ERROR "Argument INCLUDE_GUARD_NAME needs at least CMake
3.11 when calling ecm_generate_export_header().")
@@ -448,18 +454,23 @@
set(ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT 0)
elseif(ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT STREQUAL "CURRENT")
set(ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT ${ARGS_VERSION})
+ elseif(NOT ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT MATCHES
${_version_triple_regexp} AND
+ NOT ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT STREQUAL "0")
+ message(FATAL_ERROR "EXCLUDE_DEPRECATED_BEFORE_AND_AT expected to be
in \"x.y.z\" format, \"0\" or \"CURRENT\" when calling
ecm_generate_export_header().")
endif()
if (NOT DEFINED ARGS_DEPRECATED_BASE_VERSION)
if (ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT)
set(ARGS_DEPRECATED_BASE_VERSION
"${ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT}")
else()
- string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" "\\1"
- _version_major "${ARGS_VERSION}")
+ string(REGEX REPLACE ${_version_triple_regexp} "\\1"
_version_major "${ARGS_VERSION}")
set(ARGS_DEPRECATED_BASE_VERSION "${_version_major}.0.0")
endif()
else()
if(ARGS_DEPRECATED_BASE_VERSION STREQUAL "CURRENT")
set(ARGS_DEPRECATED_BASE_VERSION ${ARGS_VERSION})
+ elseif(NOT ARGS_DEPRECATED_BASE_VERSION MATCHES
${_version_triple_regexp} AND
+ NOT ARGS_DEPRECATED_BASE_VERSION STREQUAL "0")
+ message(FATAL_ERROR "DEPRECATED_BASE_VERSION expected to be in
\"x.y.z\" format, \"0\" or \"CURRENT\" when calling
ecm_generate_export_header().")
endif()
if (ARGS_DEPRECATED_BASE_VERSION VERSION_LESS
ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT)
message(STATUS "DEPRECATED_BASE_VERSION
(${ARGS_DEPRECATED_BASE_VERSION}) was lower than
EXCLUDE_DEPRECATED_BEFORE_AND_AT (${ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT})
when calling ecm_generate_export_header(), raising to that.")