Accepting request 1058735 from home:polslinux:branches:devel:libraries:c_c++

- Update to 0.10.1: 
  * BREAKING: Fix cbor_copy leaking memory and creating invalid items when the allocator fails.
  * BREAKING: Improved half-float encoding for denormalized numbers. [#208]
  * Make the buffer_size optional in cbor_serialize_alloc [#205]
  * Fix a potential memory leak when the allocator fails during array or map decoding [#224]
  * Fix a memory leak when the allocator fails when adding chunks to indefinite bytestrings.
  * Fix a memory leak when the allocator fails when adding chunks to indefinite strings
  * Fix cbor_build_tag illegal memory behavior when the allocator fails
  * Add a new cbor_serialized_size API
  * Reworked cbor_serialize_alloc to allocate the exact amount of memory necessary upfront

OBS-URL: https://build.opensuse.org/request/show/1058735
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=18
This commit is contained in:
Torsten Gruner 2023-01-17 18:41:19 +00:00 committed by Git OBS Bridge
parent c5b666ce98
commit 367b9d8835
4 changed files with 23 additions and 7 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Jan 16 15:32:07 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- Update to 0.10.1:
* BREAKING: Fix cbor_copy leaking memory and creating invalid items when the allocator fails.
* BREAKING: Improved half-float encoding for denormalized numbers. [#208]
* Make the buffer_size optional in cbor_serialize_alloc [#205]
* Fix a potential memory leak when the allocator fails during array or map decoding [#224]
* Fix a memory leak when the allocator fails when adding chunks to indefinite bytestrings.
* Fix a memory leak when the allocator fails when adding chunks to indefinite strings
* Fix cbor_build_tag illegal memory behavior when the allocator fails
* Add a new cbor_serialized_size API
* Reworked cbor_serialize_alloc to allocate the exact amount of memory necessary upfront
-------------------------------------------------------------------
Fri Aug 26 05:23:10 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libcbor-doc
#
# 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,8 +17,8 @@
%define socurrent 0
%define sorevision 9
%define soage 0
%define sorevision 10
%define soage 1
%define lname libcbor%{socurrent}_%{sorevision}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "doc"
@ -26,7 +26,7 @@ Name: libcbor-doc
%else
Name: libcbor
%endif
Version: 0.9.0
Version: 0.10.1
Release: 0
Summary: Library for parsing Concise Binary Object Representation (CBOR)
License: MIT
@ -76,6 +76,8 @@ The libcbor-devel contains libraries and header files for libcbor.
sed -i 's|${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig|${CMAKE_INSTALL_LIBDIR}/pkgconfig|' src/CMakeLists.txt
%build
export CFLAGS="%(echo %{optflags}) -Wno-return-type"
export CXXFLAGS="$CFLAGS"
%if "%{flavor}" == "doc"
%make_build -C doc man
%else

3
v0.10.1.tar.gz Normal file
View File

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

View File

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