Hello community, here is the log from the commit of package spdlog for openSUSE:Factory checked in at 2018-08-15 10:36:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spdlog (Old) and /work/SRC/openSUSE:Factory/.spdlog.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spdlog" Wed Aug 15 10:36:37 2018 rev:3 rq:628995 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes 2018-04-20 17:30:54.667403369 +0200 +++ /work/SRC/openSUSE:Factory/.spdlog.new/spdlog.changes 2018-08-15 10:36:40.520103614 +0200 @@ -1,0 +2,33 @@ +Mon Aug 13 08:32:18 UTC 2018 - [email protected] + +- Update to version 1.0.0 +- Highlights + * Include what you need: Reduce compilation times by including + only the minimum required. Users can now to include only + the actual sinks/features they need from spdlog/sinks folder. + * Upgrade to fmt lib version 5.1 + * Support for custom formatting per sink - each sink can have + it's own formatting and level using sink->set_pattern(..) or + sink->set_formatter(..). + * async logging - thread pool - async loggers now share a global + thread pool by default. + * periodic flusher: spdlog::flush_every(seconds) to periodically + flush all registered loggers. + * Improved performance - by caching some recently used values in + the pattern formatter. + * Ability to add sinks to a logger after its creation + (but it is not thread safe to do so - so use with caution). + +- Breaking changes + * Include what you need. For example to use basic_logger add + #include "spdlog/sinks/basic_file_sink.h" + * To use async loggers - include "spdlog/async.h" + * Replaced set_async_mode(..) with factory template. + * Removed printf support. + * Removed warmup/teardown functions from async. + * Custom sinks inheriting from sinks::base_sink need to format + (if needed) the message before sending to their target. + * Added clone() virtual function to the formatter interface. + * Removed support for #define SPDLOG_NO_REGISTRY_MUTEX + +------------------------------------------------------------------- Old: ---- spdlog-0.16.3.tar.gz New: ---- v1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spdlog.spec ++++++ --- /var/tmp/diff_new_pack.2jHJVO/_old 2018-08-15 10:36:41.236104919 +0200 +++ /var/tmp/diff_new_pack.2jHJVO/_new 2018-08-15 10:36:41.236104919 +0200 @@ -16,42 +16,41 @@ # +%define user gabime + Name: spdlog -Version: 0.16.3 +Version: 1.0.0 Release: 0 Summary: C++ header only logging library License: MIT Group: Development/Languages/C and C++ -Url: https://github.com/gabime/spdlog/ -Source0: https://github.com/gabime/spdlog/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/%{user}/%{name}/ +Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz + BuildRequires: cmake -BuildRequires: dos2unix +BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkgconfig %description -spdlog is a C++ logging library implemented in headers only. It -supports the ostream call style, has an (optional) asynchronous mode -with lockfree queues, allows for custom formatting, knows -single-/multi-threaded loggers, has various log targets, log -rotation, can be extended with custom log targets, and has -compile-time and run-time severity-based filtering. +This is a packaged version of the gabime/spdlog header-only C++ +logging library available at Github. %package devel -Summary: Development files for spdlog, a C++ header-only logging library +Summary: Development files for %{name} Group: Development/Languages/C and C++ +Provides: %{name} = %{version}-%{release} +Provides: %{name}-static = %{version}-%{release} +Requires: libstdc++-devel %description devel -spdlog is a C++ logging library implemented in headers only. It -supports the ostream call style, has an (optional) asynchronous mode -with lockfree queues, allows for custom formatting, knows -single-/multi-threaded loggers, has various log targets, log -rotation, can be extended with custom log targets, and has -compile-time and run-time severity-based filtering. +The %{name}-devel package contains C++ header files for developing +applications that use %{name}. %prep -%setup -q -dos2unix README.md +%autosetup +find . -name '.gitignore' -exec rm {} \; +sed -i -e "s,\r,," README.md %build %cmake
