From cf0c1df311748d688e19607203977f6ad125110c8c673b50f7192d8884481535 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 5 Jul 2022 14:39:24 +0000 Subject: [PATCH] - Update to release 9 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fmt?expand=0&rev=46 --- baselibs.conf | 2 +- fmt-8.1.1.tar.gz | 3 --- fmt-9.0.0.tar.gz | 3 +++ fmt.changes | 24 ++++++++++++++++++++++++ fmt.spec | 8 ++++---- 5 files changed, 32 insertions(+), 8 deletions(-) delete mode 100644 fmt-8.1.1.tar.gz create mode 100644 fmt-9.0.0.tar.gz diff --git a/baselibs.conf b/baselibs.conf index c533e55..9e3eeee 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libfmt8 +libfmt9 diff --git a/fmt-8.1.1.tar.gz b/fmt-8.1.1.tar.gz deleted file mode 100644 index cb9137e..0000000 --- a/fmt-8.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d794d3cf67633b34b2771eb9f073bde87e846e0d395d254df7b211ef1ec7346 -size 826254 diff --git a/fmt-9.0.0.tar.gz b/fmt-9.0.0.tar.gz new file mode 100644 index 0000000..f1a5fc0 --- /dev/null +++ b/fmt-9.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a1e0e9e843a356d65c7604e2c8bf9402b50fe294c355de0095ebd42fb9bd2c5 +size 833639 diff --git a/fmt.changes b/fmt.changes index 9fe0951..d005c94 100644 --- a/fmt.changes +++ b/fmt.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Jul 5 14:16:23 UTC 2022 - Jan Engelhardt + +- 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 diff --git a/fmt.spec b/fmt.spec index 0369031..2367e2c 100644 --- a/fmt.spec +++ b/fmt.spec @@ -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