Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package msgpack-c for openSUSE:Factory checked in at 2023-11-30 21:59:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/msgpack-c (Old)
and /work/SRC/openSUSE:Factory/.msgpack-c.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "msgpack-c"
Thu Nov 30 21:59:55 2023 rev:2 rq:1122998 version:6.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/msgpack-c/msgpack-c.changes 2022-09-02 21:57:13.880396441 +0200
+++ /work/SRC/openSUSE:Factory/.msgpack-c.new.25432/msgpack-c.changes 2023-11-30 22:00:50.832011986 +0100
@@ -1,0 +2,8 @@
+Thu Nov 2 21:37:47 UTC 2023 - Jan Engelhardt
+
+- Update to release 6.0.0
+ * The package name in cmake and pkgconfig files was changed
+ from msgpackc to msgpack-c; the SONAME of the library changed
+ likewise.
+
+-------------------------------------------------------------------
Old:
----
msgpack-c-4.0.0.tar.gz
New:
----
msgpack-c-6.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ msgpack-c.spec ++++++
--- /var/tmp/diff_new_pack.dTOdJp/_old 2023-11-30 22:00:51.564038952 +0100
+++ /var/tmp/diff_new_pack.dTOdJp/_new 2023-11-30 22:00:51.568039100 +0100
@@ -1,7 +1,7 @@
#
# spec file for package msgpack-c
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,35 +17,36 @@
Name: msgpack-c
-Version: 4.0.0
+Version: 6.0.0
Release: 0
Summary: Object serialization library for cross-language communication
License: BSL-1.0
Group: Development/Libraries/C and C++
URL: https://msgpack.org
Source: https://github.com/msgpack/msgpack-c/releases/download/c-%{version}/msgpack-c-%{version}.tar.gz
+BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: fdupes
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
+BuildRequires: gtest
+BuildRequires: pkg-config
BuildRequires: pkgconfig(zlib)
%description
MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON.
-%package -n libmsgpackc2
+%package -n libmsgpack-c2
Summary: Object serialization library for cross-language communication
Group: System/Libraries
-%description -n libmsgpackc2
+%description -n libmsgpack-c2
MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON.
%package devel
Summary: Development headers for libmsgpack C library
Group: Development/Libraries/C and C++
-Requires: libmsgpackc2 = %{version}-%{release}
+Requires: libmsgpack-c2 = %{version}-%{release}
Provides: libmsgpack-devel = %{version}-%{release}
Provides: libmsgpackc-devel = %{version}-%{release}
Conflicts: msgpack-devel < 4
@@ -65,23 +66,19 @@
%install
%cmake_install
-find %{buildroot} -type f -name "*.a" -delete -print
-
-# Fix duplicated files.
%fdupes %{buildroot}/%{_includedir}/%{name}
-%post -n libmsgpackc2 -p /sbin/ldconfig
-%postun -n libmsgpackc2 -p /sbin/ldconfig
+%post -n libmsgpack-c2 -p /sbin/ldconfig
+%postun -n libmsgpack-c2 -p /sbin/ldconfig
-%files -n libmsgpackc2
+%files -n libmsgpack-c2
%license COPYING
-%{_libdir}/libmsgpackc.so.*
+%_libdir/libmsgpack-c.so.*
%files devel
%doc NOTICE README.md
-%{_libdir}/libmsgpackc.so
-%{_libdir}/pkgconfig/msgpack.pc
-%{_libdir}/cmake/msgpack
-%{_includedir}/msgpack.h
-%{_includedir}/msgpack/
+%_libdir/libmsgpack-c.so
+%_libdir/pkgconfig/*.pc
+%_libdir/cmake/
+%_includedir/msgpack*
++++++ msgpack-c-4.0.0.tar.gz -> msgpack-c-6.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/CMakeLists.txt new/msgpack-c-6.0.0/CMakeLists.txt
--- old/msgpack-c-4.0.0/CMakeLists.txt 2021-09-01 03:32:00.000000000 +0200
+++ new/msgpack-c-6.0.0/CMakeLists.txt 2023-03-04 14:39:44.000000000 +0100
@@ -5,7 +5,14 @@
CMAKE_POLICY(SET CMP0054 NEW)
ENDIF ()
-PROJECT (msgpack)
+OPTION (MSGPACK_BUILD_TESTS "Build msgpack tests." ON)
+OPTION (MSGPACK_GEN_COVERAGE "Enable running gcov to get a test coverage report." OFF)
+
+if(MSGPACK_BUILD_TESTS)
+ PROJECT (msgpack-c)
+else()
+ PROJECT (msgpack-c C)
+endif()
FILE (READ ${CMAKE_CURRENT_SOURCE_DIR}/include/msgpack/version_master.h contents)
STRING (REGEX MATCH "#define MSGPACK_VERSION_MAJOR *([0-9a-zA-Z_]*)" NULL_OUT ${contents})
@@ -31,7 +38,7 @@
SET(MSGPACK_ENDIAN_LITTLE_BYTE 0)
ELSE ()
SET(MSGPACK_ENDIAN_BIG_BYTE 0)
- SET(MSGPACK_ENDIAN_LITTLE_BYTE 1)
+ SET(MSGPACK_ENDIAN_LITTLE_BYTE 1)
ENDIF ()
CONFIGURE_FILE (
@@ -74,14 +81,6 @@
SET (CMAKE_C_FLAGS "-f${MSGPACK_CHAR_SIGN}-char ${CMAKE_C_FLAGS}")
ENDIF ()
-FIND_PACKAGE (GTest)
-FIND_PACKAGE (ZLIB)
-FIND_PACKAGE (Threads)
-IF (GTEST_FOUND AND ZLIB_FOUND AND THREADS_FOUND)
- OPTION (MSGPACK_BUILD_TESTS "Build msgpack tests." ON)
- OPTION (MSGPACK_GEN_COVERAGE "Enable running gcov to get a test coverage report." OFF)
-ENDIF ()
-
IF (DEFINED BUILD_SHARED_LIBS)
IF (BUILD_SHARED_LIBS)
IF (DEFINED MSGPACK_ENABLE_SHARED AND NOT MSGPACK_ENABLE_SHARED)
@@ -115,20 +114,20 @@
INCLUDE (Files.cmake)
CONFIGURE_FILE (
- msgpack.pc.in
- msgpack.pc
+ msgpack-c.pc.in
+ msgpack-c.pc
@ONLY
)
IF (MSGPACK_ENABLE_SHARED OR MSGPACK_ENABLE_STATIC)
- ADD_LIBRARY (msgpackc
- ${msgpackc_SOURCES}
- ${msgpackc_HEADERS}
+ ADD_LIBRARY (msgpack-c
+ ${msgpack-c_SOURCES}
+ ${msgpack-c_HEADERS}
)
- SET_TARGET_PROPERTIES (msgpackc PROPERTIES SOVERSION 2 VERSION 2.0.0)
+ SET_TARGET_PROPERTIES (msgpack-c PROPERTIES SOVERSION 2 VERSION 2.0.0)
- TARGET_INCLUDE_DIRECTORIES (msgpackc
+ TARGET_INCLUDE_DIRECTORIES (msgpack-c
PUBLIC
$
$
@@ -141,12 +140,12 @@
IF (MSGPACK_ENABLE_SHARED AND MSGPACK_ENABLE_STATIC)
- ADD_LIBRARY (msgpackc-static STATIC
- ${msgpackc_SOURCES}
- ${msgpackc_HEADERS}
+ ADD_LIBRARY (msgpack-c-static STATIC
+ ${msgpack-c_SOURCES}
+ ${msgpack-c_HEADERS}
)
- TARGET_INCLUDE_DIRECTORIES (msgpackc-static
+ TARGET_INCLUDE_DIRECTORIES (msgpack-c-static
PUBLIC
$
$
@@ -156,13 +155,13 @@
${CMAKE_CURRENT_SOURCE_DIR}
)
- SET_TARGET_PROPERTIES (msgpackc-static PROPERTIES OUTPUT_NAME "msgpackc")
+ SET_TARGET_PROPERTIES (msgpack-c-static PROPERTIES OUTPUT_NAME "msgpack-c")
IF (MSGPACK_ENABLE_SHARED)
IF (MSVC)
- SET_TARGET_PROPERTIES (msgpackc PROPERTIES IMPORT_SUFFIX "_import.lib")
+ SET_TARGET_PROPERTIES (msgpack-c PROPERTIES IMPORT_SUFFIX "_import.lib")
ELSEIF (MINGW)
- SET_TARGET_PROPERTIES (msgpackc PROPERTIES IMPORT_SUFFIX ".dll.a")
+ SET_TARGET_PROPERTIES (msgpack-c PROPERTIES IMPORT_SUFFIX ".dll.a")
ENDIF ()
ENDIF ()
ENDIF ()
@@ -194,19 +193,19 @@
IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
IF (MSGPACK_ENABLE_SHARED OR MSGPACK_ENABLE_STATIC)
- SET_PROPERTY (TARGET msgpackc APPEND_STRING PROPERTY COMPILE_FLAGS " -Wall -Wextra -DPIC")
+ SET_PROPERTY (TARGET msgpack-c APPEND_STRING PROPERTY COMPILE_FLAGS " -Wall -Wextra -DPIC")
ENDIF ()
IF (MSGPACK_ENABLE_SHARED AND MSGPACK_ENABLE_STATIC)
- SET_PROPERTY (TARGET msgpackc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wall -Wextra" )
+ SET_PROPERTY (TARGET msgpack-c-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wall -Wextra" )
ENDIF ()
ENDIF ()
IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
IF (MSGPACK_ENABLE_SHARED OR MSGPACK_ENABLE_STATIC)
- SET_PROPERTY (TARGET msgpackc APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-mismatched-tags")
+ SET_PROPERTY (TARGET msgpack-c APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-mismatched-tags")
ENDIF ()
IF (MSGPACK_ENABLE_SHARED AND MSGPACK_ENABLE_STATIC)
- SET_PROPERTY (TARGET msgpackc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-mismatched-tags")
+ SET_PROPERTY (TARGET msgpack-c-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-mismatched-tags")
ENDIF ()
ENDIF ()
@@ -227,7 +226,7 @@
ENDIF ()
IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC90" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC10")
- SET_SOURCE_FILES_PROPERTIES(${msgpackc_SOURCES} PROPERTIES LANGUAGE C)
+ SET_SOURCE_FILES_PROPERTIES(${msgpack-c_SOURCES} PROPERTIES LANGUAGE C)
ENDIF ()
IF ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "sparc")
@@ -247,28 +246,28 @@
ENDIF ()
IF (MSGPACK_ENABLE_SHARED OR MSGPACK_ENABLE_STATIC)
- SET (MSGPACK_INSTALLTARGETS msgpackc)
+ SET (MSGPACK_INSTALLTARGETS msgpack-c)
ENDIF ()
IF (MSGPACK_ENABLE_SHARED AND MSGPACK_ENABLE_STATIC)
- LIST (APPEND MSGPACK_INSTALLTARGETS msgpackc-static)
+ LIST (APPEND MSGPACK_INSTALLTARGETS msgpack-c-static)
ENDIF ()
-INSTALL (TARGETS ${MSGPACK_INSTALLTARGETS} EXPORT msgpack-targets
+INSTALL (TARGETS ${MSGPACK_INSTALLTARGETS} EXPORT msgpack-c-targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
-FOREACH (file ${msgpackc_common_HEADERS})
+FOREACH (file ${msgpack-c_common_HEADERS})
GET_FILENAME_COMPONENT (dir ${file} PATH)
INSTALL (FILES ${file} DESTINATION ${CMAKE_INSTALL_PREFIX}/${dir})
ENDFOREACH ()
-FOREACH (file ${msgpackc_configured_HEADERS})
+FOREACH (file ${msgpack-c_configured_HEADERS})
GET_FILENAME_COMPONENT (dir ${file} PATH)
INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/${file} DESTINATION ${CMAKE_INSTALL_PREFIX}/${dir})
ENDFOREACH ()
IF (NOT MSVC)
- INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/msgpack.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/msgpack-c.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
ENDIF ()
# Doxygen
@@ -298,36 +297,36 @@
INCLUDE (CMakePackageConfigHelpers)
-SET (CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/msgpack")
+SET (CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/msgpack-c")
WRITE_BASIC_PACKAGE_VERSION_FILE (
- msgpack-config-version.cmake
+ msgpack-c-config-version.cmake
VERSION ${VERSION}
COMPATIBILITY SameMajorVersion
)
IF (NOT CMAKE_VERSION VERSION_LESS 3.0)
- EXPORT (EXPORT msgpack-targets
- FILE "${CMAKE_CURRENT_BINARY_DIR}/msgpack-targets.cmake"
+ EXPORT (EXPORT msgpack-c-targets
+ FILE "${CMAKE_CURRENT_BINARY_DIR}/msgpack-c-targets.cmake"
)
ENDIF ()
-CONFIGURE_PACKAGE_CONFIG_FILE (msgpack-config.cmake.in
- msgpack-config.cmake
+CONFIGURE_PACKAGE_CONFIG_FILE (msgpack-c-config.cmake.in
+ msgpack-c-config.cmake
INSTALL_DESTINATION "${CMAKE_INSTALL_CMAKEDIR}"
)
-INSTALL (EXPORT msgpack-targets
+INSTALL (EXPORT msgpack-c-targets
FILE
- msgpack-targets.cmake
+ msgpack-c-targets.cmake
DESTINATION
"${CMAKE_INSTALL_CMAKEDIR}"
)
INSTALL (
FILES
- "${CMAKE_CURRENT_BINARY_DIR}/msgpack-config.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/msgpack-config-version.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/msgpack-c-config.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/msgpack-c-config-version.cmake"
DESTINATION
"${CMAKE_INSTALL_CMAKEDIR}"
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/ChangeLog new/msgpack-c-6.0.0/ChangeLog
--- old/msgpack-c-4.0.0/ChangeLog 2021-09-01 04:15:39.000000000 +0200
+++ new/msgpack-c-6.0.0/ChangeLog 2023-03-04 14:48:03.000000000 +0100
@@ -1,3 +1,14 @@
+# 2023-03-02 version 6.0.0
+ * Remove C++ requirement if test is disabled (#1055)
+## << breaking changes >>
+ * Change CMake package name of C library to msgpack-c (#1053)
+ Unified all C package, library, cmake, tarball name become msgpack-c.
+
+# 2023-01-10 version 5.0.0
+ * Add additional address sanitizer for CI. (#1023)
+## << breaking changes >>
+ * Change CMake package name of C library to msgpackc (#1044, #1049)
+
# 2021-08-01 version 4.0.0
* Fix and improve alignment logic (#962)
* Fix iovec name conflict (#953)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/Files.cmake new/msgpack-c-6.0.0/Files.cmake
--- old/msgpack-c-4.0.0/Files.cmake 2021-09-01 01:54:12.000000000 +0200
+++ new/msgpack-c-6.0.0/Files.cmake 2023-03-04 13:40:57.000000000 +0100
@@ -1,5 +1,5 @@
# Source files
-SET (msgpackc_SOURCES
+SET (msgpack-c_SOURCES
src/objectc.c
src/unpack.c
src/version.c
@@ -8,7 +8,7 @@
)
# Header files
-SET (msgpackc_common_HEADERS
+SET (msgpack-c_common_HEADERS
include/msgpack.h
include/msgpack/fbuffer.h
include/msgpack/gcc_atomic.h
@@ -29,13 +29,13 @@
)
# Header files will configured
-SET (msgpackc_configured_HEADERS
+SET (msgpack-c_configured_HEADERS
include/msgpack/pack_template.h
include/msgpack/sysdep.h
)
# All header files
-LIST (APPEND msgpackc_HEADERS
- ${msgpackc_common_HEADERS}
- ${msgpackc_configured_HEADERS}
+LIST (APPEND msgpack-c_HEADERS
+ ${msgpack-c_common_HEADERS}
+ ${msgpack-c_configured_HEADERS}
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/README new/msgpack-c-6.0.0/README
--- old/msgpack-c-4.0.0/README 2021-09-01 04:15:39.000000000 +0200
+++ new/msgpack-c-6.0.0/README 2023-03-04 14:48:03.000000000 +0100
@@ -1,7 +1,7 @@
`msgpack` for C
===================
-Version 4.0.0 [![Build Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=c_master)](https://github.com/msgpack/msgpack-c/actions) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/c_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/c_master)
+Version 6.0.0 [![Build Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=c_master)](https://github.com/msgpack/msgpack-c/actions) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/c_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/c_master)
[![codecov](https://codecov.io/gh/msgpack/msgpack-c/branch/c_master/graph/badge.svg)](https://codecov.io/gh/msgpack/msgpack-c/branch/c_master)
It's like JSON but smaller and faster.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/README.md new/msgpack-c-6.0.0/README.md
--- old/msgpack-c-4.0.0/README.md 2021-09-01 04:12:00.000000000 +0200
+++ new/msgpack-c-6.0.0/README.md 2023-03-04 13:40:57.000000000 +0100
@@ -1,7 +1,7 @@
`msgpack` for C
===================
-Version 4.0.0 [![Build Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=c_master)](https://github.com/msgpack/msgpack-c/actions) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/c_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/c_master)
+Version 6.0.0 [![Build Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=c_master)](https://github.com/msgpack/msgpack-c/actions) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/c_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/c_master)
[![codecov](https://codecov.io/gh/msgpack/msgpack-c/branch/c_master/graph/badge.svg)](https://codecov.io/gh/msgpack/msgpack-c/branch/c_master)
It's like JSON but smaller and faster.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/example/CMakeLists.txt new/msgpack-c-6.0.0/example/CMakeLists.txt
--- old/msgpack-c-4.0.0/example/CMakeLists.txt 2021-09-01 01:54:12.000000000 +0200
+++ new/msgpack-c-6.0.0/example/CMakeLists.txt 2023-03-04 13:40:57.000000000 +0100
@@ -19,7 +19,7 @@
${source_file}
)
TARGET_LINK_LIBRARIES (${source_file_we}
- msgpackc
+ msgpack-c
)
IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS " -Wall -Wextra")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/example/cmake/CMakeLists.txt new/msgpack-c-6.0.0/example/cmake/CMakeLists.txt
--- old/msgpack-c-4.0.0/example/cmake/CMakeLists.txt 2021-09-01 01:54:12.000000000 +0200
+++ new/msgpack-c-6.0.0/example/cmake/CMakeLists.txt 2023-03-04 13:40:57.000000000 +0100
@@ -3,15 +3,15 @@
if(EXAMPLE_MSGPACK_EMBEDDED)
add_subdirectory(msgpack-c)
- set(msgpack_DIR ${CMAKE_CURRENT_BINARY_DIR}/msgpack-c)
+ set(msgpack-c_DIR ${CMAKE_CURRENT_BINARY_DIR}/msgpack-c)
endif()
-find_package(msgpack REQUIRED)
+find_package(msgpack-c REQUIRED)
add_executable (${PROJECT_NAME} ${CMAKE_CURRENT_LIST_DIR}/../simple_c.c)
-target_link_libraries(${PROJECT_NAME} msgpackc)
+target_link_libraries(${PROJECT_NAME} msgpack-c)
-if(TARGET msgpackc-static)
+if(TARGET msgpack-c-static)
add_executable (${PROJECT_NAME}-static ${CMAKE_CURRENT_LIST_DIR}/../simple_c.c)
- target_link_libraries(${PROJECT_NAME}-static msgpackc-static)
+ target_link_libraries(${PROJECT_NAME}-static msgpack-c-static)
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/include/msgpack/version_master.h new/msgpack-c-6.0.0/include/msgpack/version_master.h
--- old/msgpack-c-4.0.0/include/msgpack/version_master.h 2021-09-01 04:12:00.000000000 +0200
+++ new/msgpack-c-6.0.0/include/msgpack/version_master.h 2023-03-04 13:40:57.000000000 +0100
@@ -1,3 +1,3 @@
-#define MSGPACK_VERSION_MAJOR 4
+#define MSGPACK_VERSION_MAJOR 6
#define MSGPACK_VERSION_MINOR 0
#define MSGPACK_VERSION_REVISION 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/msgpack-c-config.cmake.in new/msgpack-c-6.0.0/msgpack-c-config.cmake.in
--- old/msgpack-c-4.0.0/msgpack-c-config.cmake.in 1970-01-01 01:00:00.000000000 +0100
+++ new/msgpack-c-6.0.0/msgpack-c-config.cmake.in 2023-03-04 13:40:57.000000000 +0100
@@ -0,0 +1,19 @@
+#.rst:
+# msgpack
+# -------
+#
+# The following import targets are created
+#
+# ::
+#
+# msgpack-c
+# msgpack-c-static (optional)
+#
+
+@PACKAGE_INIT@
+
+include(CMakeFindDependencyMacro)
+
+if(NOT TARGET msgpack-c AND NOT TARGET msgpack-c-static)
+ include("${CMAKE_CURRENT_LIST_DIR}/msgpack-c-targets.cmake")
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/msgpack-c.pc.in new/msgpack-c-6.0.0/msgpack-c.pc.in
--- old/msgpack-c-4.0.0/msgpack-c.pc.in 1970-01-01 01:00:00.000000000 +0100
+++ new/msgpack-c-6.0.0/msgpack-c.pc.in 2023-03-04 13:40:57.000000000 +0100
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: MessagePack
+Description: Binary-based efficient object serialization library
+Version: @VERSION@
+Libs: -L${libdir} -lmsgpack-c
+Cflags: -I${includedir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/msgpack-config.cmake.in new/msgpack-c-6.0.0/msgpack-config.cmake.in
--- old/msgpack-c-4.0.0/msgpack-config.cmake.in 2021-09-01 01:54:12.000000000 +0200
+++ new/msgpack-c-6.0.0/msgpack-config.cmake.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-#.rst:
-# msgpack
-# -------
-#
-# The following import targets are created
-#
-# ::
-#
-# msgpackc
-# msgpackc-static (optional)
-#
-
-@PACKAGE_INIT@
-
-include(CMakeFindDependencyMacro)
-
-if(NOT TARGET msgpackc AND NOT TARGET msgpackc-static)
- include("${CMAKE_CURRENT_LIST_DIR}/msgpack-targets.cmake")
-endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/msgpack.pc.in new/msgpack-c-6.0.0/msgpack.pc.in
--- old/msgpack-c-4.0.0/msgpack.pc.in 2021-09-01 01:54:12.000000000 +0200
+++ new/msgpack-c-6.0.0/msgpack.pc.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: MessagePack
-Description: Binary-based efficient object serialization library
-Version: @VERSION@
-Libs: -L${libdir} -lmsgpackc
-Cflags: -I${includedir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msgpack-c-4.0.0/test/CMakeLists.txt new/msgpack-c-6.0.0/test/CMakeLists.txt
--- old/msgpack-c-4.0.0/test/CMakeLists.txt 2021-09-01 01:54:12.000000000 +0200
+++ new/msgpack-c-6.0.0/test/CMakeLists.txt 2023-03-04 13:40:57.000000000 +0100
@@ -23,7 +23,7 @@
)
TARGET_LINK_LIBRARIES (${source_file_we}
- msgpackc
+ msgpack-c
${GTEST_BOTH_LIBRARIES}
${ZLIB_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}