SHA256
8
0
forked from pool/fmt

11 Commits

Author SHA256 Message Date
d31f0d22c8 fmt 12.1.0 2025-10-29 18:24:02 +01:00
20b4bfc12c fmt 12.0.0 2025-09-24 19:18:46 +02:00
86a825f47f fmt 11.2.0 2025-05-03 19:15:30 +02:00
7bb71d7d10 fmt 11.1.4 2025-02-26 23:21:42 +01:00
ae15c54cb3 fmt 11.1.3 2025-01-26 19:02:23 +01:00
33385faca9 Add 0001-Restore-ABI-compatibility.patch 2025-01-11 15:50:05 +01:00
33733f9758 fmt 11.1.1 2024-12-28 04:02:12 +01:00
1c3ca93d6d fmt 11.1 2024-12-25 20:18:53 +01:00
a3a6e9dfd1 fmt 11.0.2 2024-07-20 16:53:55 +02:00
28e447389e Update baselibs.conf for fmt 11 2024-07-14 10:36:30 +02:00
b4aec70628 fmt 11.0.1 2024-07-11 03:50:13 +02:00
5 changed files with 120 additions and 9 deletions

BIN
10.2.1.tar.gz LFS

Binary file not shown.

BIN
12.1.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1 +1 @@
libfmt10
libfmt12

View File

@@ -1,3 +1,115 @@
-------------------------------------------------------------------
Wed Oct 29 17:22:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 12.1.0
* Optimized `buffer::append`, resulting in up to ~16% improvement
on spdlog benchmarks.
* Made `std::variant` and `std::expected` formatters work with
`format_as`.
* Added support for cv-qualified types to the `std::optional`
formatter.
-------------------------------------------------------------------
Wed Sep 17 17:46:35 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 12.0.0
* Added constexpr support to fmt::format.
* Added FMT_STATIC_FORMAT that allows formatting into a string of
the exact required size at compile time.
* Improved C++20 module support.
* Removed deprecated `has_formatter` API (use is_formattable
instead).
* Removed deprecated `basic_format_args::parse_context_type`,
`basic_format_args::formatter_type` and similar aliases in
context types.
* Removed wide stream overload of `fmt::printf`, and wide stream
overloads of `fmt::print` that take text styles.
* Removed `is_*char` traits.
* Removed `fmt::localtime`.
-------------------------------------------------------------------
Sat May 3 16:57:52 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.2.0
* Added the `s` specifier for std::error_code. It allows
formatting an error message as a string.
* Fixed formatting of std::chrono::local_time and tm (#3815,
#4350) to be consistent across platforms.
* Added compile-time diagnostics for cases when {:Z} is requested
while the system has no timezone information.
* Deprecated fmt::localtime in favor of std::localtime.
* Added error reporting for duplicate named arguments.
-------------------------------------------------------------------
Wed Feb 26 22:12:48 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.1.4
* Improved the logic of switching between fixed and exponential
format for float.
* Moved is_compiled_string to the public API.
-------------------------------------------------------------------
Sun Jan 26 17:49:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.1.3
* Readded `args()` to `fmt::format_context`
- Delete 0001-Restore-ABI-compatibility.patch (merged)
-------------------------------------------------------------------
Sat Jan 11 14:49:36 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add 0001-Restore-ABI-compatibility.patch [boo#1235078]
-------------------------------------------------------------------
Sat Dec 28 03:00:29 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.1.1
* Restore ABI compat with 11.0.2
-------------------------------------------------------------------
Wed Dec 25 19:15:40 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.1
* Reduced debug (unoptimized) binary code size and the number of
template instantiations when passing formatting arguments
* Added an experimental fmt::writer API that can be used for
writing to different destinations such as files or strings
* Made std::expected<void, E> formattable
* Made fmt::is_formattable<void> SFINAE-friendly
* Added the n specifier for tuples and pairs
* Added support for tuple-like types to ``fmt::join``
* Added a formatter for ``std::reference_wrapper``
* Added experimental padding support (glibc ``strftime``
extension) to ``%m``, ``%j`` and ``%Y``
* Made ``fmt::appender`` satisfy the ``std::output_iterator`` concept
* Added support for UTF-32 code units greater than 0xFFFF in fill
-------------------------------------------------------------------
Sat Jul 20 14:51:13 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.0.2
* Fixed performance regressions when using
``std::back_insert_iterator`` with`` fmt::format_to``.
* Made ``formatter<std::string_view>::parse`` work with types
convertible to ``std::string_view``.
* Made ``volatile void *`` formattable.
* Made ``fmt::context`` iterator compatible with STL algorithms
that rely on the iterator category.
-------------------------------------------------------------------
Wed Jul 10 18:07:21 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.0.1
* Added fmt/base.h which provides a subset of the API with
minimal include dependencies and enough functionality to
replace all uses of the printf family of functions.
* Improved integration with stdio in fmt::print, enabling
direct writes into a C stream buffer in common cases.
* fmt::format_to no longer exceeds buffers, instead it will
truncate.
* Added formatters for std::{expected,complex,type_info},
std::chrono::{day,month,year,year_month_day}.
-------------------------------------------------------------------
Thu Jan 4 13:55:11 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package fmt
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
#
%define sover 10
%define sover 12
Name: fmt
Version: 10.2.1
Version: 12.1.0
Release: 0
Summary: A formatting library for C++
License: MIT
@@ -64,8 +64,7 @@ export CXXFLAGS="$CFLAGS"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%buildroot/%_libdir"
%ctest
%post -n libfmt%sover -p /sbin/ldconfig
%postun -n libfmt%sover -p /sbin/ldconfig
%ldconfig_scriptlets -n libfmt%sover
%files -n libfmt%sover
%license LICENSE