From 372c136cc13cc9ec9ded8a9c08517f4367518711595c11fc1fa0098e12dab008 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 2 Nov 2023 21:42:41 +0000 Subject: [PATCH] - Update to release 6.0.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/msgpack-c?expand=0&rev=3 --- msgpack-c-4.0.0.tar.gz | 3 --- msgpack-c-6.0.0.tar.gz | 3 +++ msgpack-c.changes | 8 ++++++++ msgpack-c.spec | 35 ++++++++++++++++------------------- 4 files changed, 27 insertions(+), 22 deletions(-) delete mode 100644 msgpack-c-4.0.0.tar.gz create mode 100644 msgpack-c-6.0.0.tar.gz diff --git a/msgpack-c-4.0.0.tar.gz b/msgpack-c-4.0.0.tar.gz deleted file mode 100644 index 838342b..0000000 --- a/msgpack-c-4.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:420fe35e7572f2a168d17e660ef981a589c9cbe77faa25eb34a520e1fcc032c8 -size 69290 diff --git a/msgpack-c-6.0.0.tar.gz b/msgpack-c-6.0.0.tar.gz new file mode 100644 index 0000000..bd7f20e --- /dev/null +++ b/msgpack-c-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3654f5e2c652dc52e0a993e270bb57d5702b262703f03771c152bba51602aeba +size 69341 diff --git a/msgpack-c.changes b/msgpack-c.changes index eea81f2..a53ce07 100644 --- a/msgpack-c.changes +++ b/msgpack-c.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +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. + ------------------------------------------------------------------- Mon Aug 29 11:12:03 UTC 2022 - Jan Engelhardt diff --git a/msgpack-c.spec b/msgpack-c.spec index fc95a8c..914859f 100644 --- a/msgpack-c.spec +++ b/msgpack-c.spec @@ -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,24 +66,20 @@ This package provides headers and other devel files. %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* %changelog