SHA256
8
0
forked from pool/rapidyaml

2 Commits

4 changed files with 43 additions and 17 deletions

View File

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

3
rapidyaml-0.8.0-src.tgz Normal file
View File

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

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Mar 4 19:14:51 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.8.0 (boo#1238562):
* deserialization bug fixes
* portability improvements
* add handling of Byte Order Marks
* fix emit of explicit keys when indented
- includes changes from 0.7.2:
* fix test failures with g++14 -O2 in ppc64le
- includes changes from 0.7.1:
* Add version functions and macros
- includes changes from 0.7.0:
* parser refactoring
* append-emitting to existing containers in the emitrs_ functions
* add depth query methods
* add a function to estimate the required tree capacity, based
on yaml markup
- includes changes from 0.6.0:
* improved error handling
-------------------------------------------------------------------
Mon Jan 2 09:28:09 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>

View File

@@ -2,6 +2,7 @@
# spec file for package rapidyaml
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +17,10 @@
#
%define sover_ryml 0_8_0
%define sover_c4core 0_2_5
Name: rapidyaml
Version: 0.5.0
Version: 0.8.0
Release: 0
Summary: A library to parse and emit YAML
License: MIT
@@ -32,18 +35,18 @@ BuildRequires: git
%description
ryml is a C++ library to parse and emit YAML.
%package -n libc4core0_1_11
%package -n libc4core%{sover_c4core}
Summary: Utility library of rapidyaml
Group: System/Libraries
%description -n libc4core0_1_11
%description -n libc4core%{sover_c4core}
ryml is a C++ library to parse and emit YAML.
%package -n libryml0_5_0
%package -n libryml%{sover_ryml}
Summary: A library to parse and emit YAML
Group: System/Libraries
%description -n libryml0_5_0
%description -n libryml%{sover_ryml}
ryml is a C++ library to parse and emit YAML.
ryml parses both read-only and in-situ source buffers; the resulting
@@ -53,8 +56,8 @@ string copies or duplications are done.
%package devel
Summary: Header files for rapidyaml, a library to parse and emit YAML
Group: Development/Libraries/C and C++
Requires: libc4core0_1_11 = %{version}-%{release}
Requires: libryml0_5_0 = %{version}-%{release}
Requires: libc4core%{sover_c4core} = %{version}-%{release}
Requires: libryml%{sover_ryml} = %{version}-%{release}
%description devel
ryml is a C++ library to parse and emit YAML.
@@ -71,21 +74,23 @@ This package contains development headers and examples.
%install
%cmake_install
%post -n libc4core0_1_11 -p /sbin/ldconfig
%postun -n libc4core0_1_11 -p /sbin/ldconfig
%post -n libryml0_5_0 -p /sbin/ldconfig
%postun -n libryml0_5_0 -p /sbin/ldconfig
%check
%ctest
%files -n libc4core0_1_11
%ldconfig_scriptlets -n libc4core%{sover_c4core}
%ldconfig_scriptlets -n libryml%{sover_ryml}
%files -n libc4core%{sover_c4core}
%license LICENSE.txt
%{_libdir}/libc4core.so.*
%files -n libryml0_5_0
%files -n libryml%{sover_ryml}
%license LICENSE.txt
%{_libdir}/libryml.so.*
%files devel
%doc README.md
%license LICENSE.txt
%doc README.md
%{_includedir}/*
%{_libdir}/cmake/c4core
%{_libdir}/cmake/ryml