- Update to release 9

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fmt?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2022-07-05 14:39:24 +00:00 committed by Git OBS Bridge
parent b1530e3ec9
commit cf0c1df311
5 changed files with 32 additions and 8 deletions

View File

@ -1 +1 @@
libfmt8
libfmt9

View File

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

3
fmt-9.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Jul 5 14:16:23 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 9
* Switched to the internal floating point formatter for all
decimal presentation formats. In particular this results in
consistent rounding on all platforms and removing the
s[n]printf fallback for decimal FP formatting.
* Compile-time floating point formatting no longer requires the
header-only mode.
* Disabled automatic std::ostream insertion operator
(operator<<) discovery when fmt/ostream.h is included to
prevent ODR violations. You can get the old behavior by
defining FMT_DEPRECATED_OSTREAM.
* Added fmt::ostream_formatter that can be used to write
formatter specializations that perform formatting via
std::ostream.
* Added the fmt::streamed function that takes an object and
formats it via std::ostream.
* Added experimental std::variant formatting support.
* Added experimental std::filesystem::path formatting support.
* Added a std::thread::id formatter to fmt/std.h.
* Added support for nested specifiers to range formatting.
-------------------------------------------------------------------
Sat Apr 30 12:01:50 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,18 +16,18 @@
#
%define sover 8
%define sover 9
Name: fmt
Version: 8.1.1
Version: 9.0.0
Release: 0
Summary: A formatting library for C++
License: MIT
URL: http://fmtlib.net/
Source0: https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkg-config
%description
Fmt is a formatting library for C++. It can be used as an