Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yder for openSUSE:Factory checked in at 2021-03-30 21:10:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yder (Old) and /work/SRC/openSUSE:Factory/.yder.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yder" Tue Mar 30 21:10:08 2021 rev:11 rq:876405 version:1.4.13 Changes: -------- --- /work/SRC/openSUSE:Factory/yder/yder.changes 2020-09-06 00:04:10.187306942 +0200 +++ /work/SRC/openSUSE:Factory/.yder.new.2401/yder.changes 2021-03-30 21:18:39.041839413 +0200 @@ -1,0 +2,6 @@ +Mon Mar 1 19:14:29 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 1.4.13 + * Bugfix release + +------------------------------------------------------------------- Old: ---- yder-1.4.12.tar.gz New: ---- yder-1.4.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yder.spec ++++++ --- /var/tmp/diff_new_pack.9XvENb/_old 2021-03-30 21:18:39.701839896 +0200 +++ /var/tmp/diff_new_pack.9XvENb/_new 2021-03-30 21:18:39.705839899 +0200 @@ -1,8 +1,8 @@ # # spec file for package yder # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2018-2020, Martin Hauke <mar...@gmx.de> +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2018-2021, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define sover 1_4 Name: yder -Version: 1.4.12 +Version: 1.4.13 Release: 0 Summary: Logging library written in C # Example programs in subfolder examples/ are licensed under MIT ++++++ yder-1.4.12.tar.gz -> yder-1.4.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.12/.travis.yml new/yder-1.4.13/.travis.yml --- old/yder-1.4.12/.travis.yml 2020-08-26 13:45:52.000000000 +0200 +++ new/yder-1.4.13/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -# travis configuration file -# Copyright 2018 Ilya Shipitsin <chipits...@gmail.com> -# 2018-2020 Nicolas Mora <m...@babelouest.org> -os: linux -language: c -dist: bionic -addons: - apt: - packages: [ check, libsubunit-dev, cppcheck, pkg-config, libsystemd-dev ] -jobs: - include: - - env: LABEL=linux-gcc - compiler: gcc - - env: LABEL=linux-clang - compiler: clang - - env: LABEL=osx - os: osx - addons: - homebrew: - packages: - - check - - pkg-config - update: true - script: - - mkdir build && cd build - - cmake -DBUILD_YDER_TESTING=on -DWITH_JOURNALD=off .. - - make test - - env: LABEL=cppcheck - script: - - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . -script: - - mkdir build && cd build - - cmake -DBUILD_YDER_TESTING=on .. - - make test package - - sudo make install - - sudo ldconfig - - cd ../ - - make Y_DISABLE_JOURNALD=1 - - make check diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.12/CHANGELOG.md new/yder-1.4.13/CHANGELOG.md --- old/yder-1.4.12/CHANGELOG.md 2020-08-26 13:45:52.000000000 +0200 +++ new/yder-1.4.13/CHANGELOG.md 2021-03-01 19:44:10.000000000 +0100 @@ -1,5 +1,9 @@ # Yder Changelog +## 1.4.13 + +- Use `gmtime_s` on Windows (Thanks sudhip) + ## 1.4.12 - Use `gmtime_r` instead of `localtime` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.12/CMakeLists.txt new/yder-1.4.13/CMakeLists.txt --- old/yder-1.4.12/CMakeLists.txt 2020-08-26 13:45:52.000000000 +0200 +++ new/yder-1.4.13/CMakeLists.txt 2021-03-01 19:44:10.000000000 +0100 @@ -30,7 +30,7 @@ set(PROJECT_BUGREPORT_PATH "https://github.com/babelouest/yder/issues") set(LIBRARY_VERSION_MAJOR "1") set(LIBRARY_VERSION_MINOR "4") -set(LIBRARY_VERSION_PATCH "12") +set(LIBRARY_VERSION_PATCH "13") set(PROJECT_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(PROJECT_VERSION_MAJOR ${LIBRARY_VERSION_MAJOR}) @@ -56,7 +56,7 @@ set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}") -set(ORCANIA_VERSION_REQUIRED "2.1.1") +set(ORCANIA_VERSION_REQUIRED "2.2.0") # cmake modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.12/README.md new/yder-1.4.13/README.md --- old/yder-1.4.12/README.md 2020-08-26 13:45:52.000000000 +0200 +++ new/yder-1.4.13/README.md 2021-03-01 19:44:10.000000000 +0100 @@ -2,7 +2,6 @@ Logging library written in C. -[](https://travis-ci.com/babelouest/yder)  Simple and easy to use logging library. You can log messages to the console, a file, Syslog, journald or a callback function. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.12/src/Makefile new/yder-1.4.13/src/Makefile --- old/yder-1.4.12/src/Makefile 2020-08-26 13:45:52.000000000 +0200 +++ new/yder-1.4.13/src/Makefile 2021-03-01 19:44:10.000000000 +0100 @@ -35,7 +35,7 @@ OUTPUT=libyder.so VERSION_MAJOR=1 VERSION_MINOR=4 -VERSION_PATCH=12 +VERSION_PATCH=13 SONAME = -soname ifeq ($(shell uname -s),Darwin) @@ -95,7 +95,7 @@ install: all $(PKGCONFIG_FILE) install $(OUTPUT).$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH) $(DESTDIR)/lib - mkdir -p $(DESTDIR)/lib/pkgconfig/ + mkdir -p $(DESTDIR)/lib/pkgconfig/ $(DESTDIR)/include install -m644 $(PKGCONFIG_FILE) $(DESTDIR)/lib/pkgconfig/ install -m644 $(YDER_INCLUDE)/yder.h $(DESTDIR)/include install -m644 $(CONFIG_FILE) $(DESTDIR)/include @@ -103,6 +103,7 @@ static-install: static install libyder.a $(DESTDIR)/lib + mkdir -p $(DESTDIR)/lib/pkgconfig/ $(DESTDIR)/include install -m644 $(PKGCONFIG_FILE) $(DESTDIR)/lib/pkgconfig install -m644 $(YDER_INCLUDE)/yder.h $(DESTDIR)/include install -m644 $(CONFIG_FILE) $(DESTDIR)/include diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.12/src/yder.c new/yder-1.4.13/src/yder.c --- old/yder-1.4.12/src/yder.c 2020-08-26 13:45:52.000000000 +0200 +++ new/yder-1.4.13/src/yder.c 2021-03-01 19:44:10.000000000 +0100 @@ -45,8 +45,13 @@ char * level_name = NULL, date_stamp[64]; FILE * output = NULL; struct tm tm_stamp; + +#ifdef _WIN32 + gmtime_s(&tm_stamp, &date); +#else gmtime_r(&date, &tm_stamp); - +#endif + if (date_format == NULL) { #ifndef _WIN32 strftime (date_stamp, sizeof(date_stamp), "%FT%TZ", &tm_stamp); @@ -138,7 +143,11 @@ struct tm tm_stamp; if (log_file != NULL) { +#ifdef _WIN32 + gmtime_s(&tm_stamp, &date); +#else gmtime_r(&date, &tm_stamp); +#endif if (date_format == NULL) { #ifndef _WIN32 strftime (date_stamp, sizeof(date_stamp), "%FT%TZ", &tm_stamp);