Accepting request 1122998 from devel:libraries:c_c++

- Update to release 6.0.0

OBS-URL: https://build.opensuse.org/request/show/1122998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/msgpack-c?expand=0&rev=2
This commit is contained in:
Ana Guerrero 2023-11-30 20:59:55 +00:00 committed by Git OBS Bridge
commit ae06cf1d14
4 changed files with 27 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:420fe35e7572f2a168d17e660ef981a589c9cbe77faa25eb34a520e1fcc032c8
size 69290

3
msgpack-c-6.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3654f5e2c652dc52e0a993e270bb57d5702b262703f03771c152bba51602aeba
size 69341

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Nov 2 21:37:47 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de> Mon Aug 29 11:12:03 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package msgpack-c # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,35 +17,36 @@
Name: msgpack-c Name: msgpack-c
Version: 4.0.0 Version: 6.0.0
Release: 0 Release: 0
Summary: Object serialization library for cross-language communication Summary: Object serialization library for cross-language communication
License: BSL-1.0 License: BSL-1.0
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://msgpack.org URL: https://msgpack.org
Source: https://github.com/msgpack/msgpack-c/releases/download/c-%{version}/msgpack-c-%{version}.tar.gz Source: https://github.com/msgpack/msgpack-c/releases/download/c-%{version}/msgpack-c-%{version}.tar.gz
BuildRequires: c++_compiler
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gtest
BuildRequires: pkgconfig BuildRequires: pkg-config
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%description %description
MessagePack is a binary-based object serialization library. It enables to MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON. exchange structured objects between many languages like JSON.
%package -n libmsgpackc2 %package -n libmsgpack-c2
Summary: Object serialization library for cross-language communication Summary: Object serialization library for cross-language communication
Group: System/Libraries Group: System/Libraries
%description -n libmsgpackc2 %description -n libmsgpack-c2
MessagePack is a binary-based object serialization library. It enables to MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON. exchange structured objects between many languages like JSON.
%package devel %package devel
Summary: Development headers for libmsgpack C library Summary: Development headers for libmsgpack C library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libmsgpackc2 = %{version}-%{release} Requires: libmsgpack-c2 = %{version}-%{release}
Provides: libmsgpack-devel = %{version}-%{release} Provides: libmsgpack-devel = %{version}-%{release}
Provides: libmsgpackc-devel = %{version}-%{release} Provides: libmsgpackc-devel = %{version}-%{release}
Conflicts: msgpack-devel < 4 Conflicts: msgpack-devel < 4
@ -65,24 +66,20 @@ This package provides headers and other devel files.
%install %install
%cmake_install %cmake_install
find %{buildroot} -type f -name "*.a" -delete -print
# Fix duplicated files.
%fdupes %{buildroot}/%{_includedir}/%{name} %fdupes %{buildroot}/%{_includedir}/%{name}
%post -n libmsgpackc2 -p /sbin/ldconfig %post -n libmsgpack-c2 -p /sbin/ldconfig
%postun -n libmsgpackc2 -p /sbin/ldconfig %postun -n libmsgpack-c2 -p /sbin/ldconfig
%files -n libmsgpackc2 %files -n libmsgpack-c2
%license COPYING %license COPYING
%{_libdir}/libmsgpackc.so.* %_libdir/libmsgpack-c.so.*
%files devel %files devel
%doc NOTICE README.md %doc NOTICE README.md
%{_libdir}/libmsgpackc.so %_libdir/libmsgpack-c.so
%{_libdir}/pkgconfig/msgpack.pc %_libdir/pkgconfig/*.pc
%{_libdir}/cmake/msgpack %_libdir/cmake/
%{_includedir}/msgpack.h %_includedir/msgpack*
%{_includedir}/msgpack/
%changelog %changelog