Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tdiff for openSUSE:Factory checked in at 2022-05-23 15:51:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tdiff (Old) and /work/SRC/openSUSE:Factory/.tdiff.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tdiff" Mon May 23 15:51:55 2022 rev:4 rq:978622 version:0.8.6 Changes: -------- --- /work/SRC/openSUSE:Factory/tdiff/tdiff.changes 2020-04-29 20:54:20.989268278 +0200 +++ /work/SRC/openSUSE:Factory/.tdiff.new.2254/tdiff.changes 2022-05-23 15:52:01.234661927 +0200 @@ -1,0 +2,7 @@ +Sat May 21 09:34:09 UTC 2022 - Martin Hauke <mar...@gmx.de> + +- Update to version 0.8.6 + * Handle mallinfo2() and glibc 2.34. + * Make getdents64 work on Linux again. + +------------------------------------------------------------------- Old: ---- tdiff-0.8.5.tar.gz New: ---- tdiff-0.8.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tdiff.spec ++++++ --- /var/tmp/diff_new_pack.VOJzI4/_old 2022-05-23 15:52:01.770662433 +0200 +++ /var/tmp/diff_new_pack.VOJzI4/_new 2022-05-23 15:52:01.774662436 +0200 @@ -1,8 +1,8 @@ # # spec file for package tdiff # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2020, Martin Hauke <mar...@gmx.de> +# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2020-2022, 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 @@ -18,7 +18,7 @@ Name: tdiff -Version: 0.8.5 +Version: 0.8.6 Release: 0 Summary: File tree diff tool License: GPL-3.0-or-later ++++++ tdiff-0.8.5.tar.gz -> tdiff-0.8.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/ChangeLog new/tdiff-0.8.6/ChangeLog --- old/tdiff-0.8.5/ChangeLog 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/ChangeLog 2022-05-21 08:45:22.000000000 +0200 @@ -1,3 +1,23 @@ +2022-05-20 Philippe Troin <p...@fifi.org> + + * NEWS: + * README.md: + * tdiff.spec: + Add changelog, update to 0.8.6. + + * configure.ac: Updated to 0.8.6. + + * linux_getdents64.c (getdents64): Update prototype. + + * utils.c (pmem): Prefer mallinfo2 if found over mallinfo. + + * configure.ac (HAVE_MALLINFO2): Detect mallinfo2() on newer + glibcs (2.34). + +2019-11-02 Philippe Troin <p...@fifi.org> + + * tdiff.spec: Fix RHEL Copr builds. + 2019-11-01 Philippe Troin <p...@fifi.org> * configure.ac: Update to 0.8.5. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/NEWS new/tdiff-0.8.6/NEWS --- old/tdiff-0.8.5/NEWS 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/NEWS 2022-05-21 08:45:22.000000000 +0200 @@ -1,5 +1,13 @@ -*- outline -*- +* Release 0.8.6 +** May 20, 2022. + +** Bugs fixed: + +- Handle mallinfo2() and glibc 2.34. +- Make getdents64 work on Linux again. + * Release 0.8.5 ** November 1, 2019. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/README.md new/tdiff-0.8.6/README.md --- old/tdiff-0.8.5/README.md 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/README.md 2022-05-21 08:45:22.000000000 +0200 @@ -238,6 +238,14 @@ ## Changelog +### Version 0.8.6 +#### May 20, 2022. + +##### Bugs fixed: + +- Handle mallinfo2() and glibc 2.34. +- Make getdents64 work on Linux again. + ### Version 0.8.5 #### November 1, 2019. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/configure.ac new/tdiff-0.8.6/configure.ac --- old/tdiff-0.8.5/configure.ac 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/configure.ac 2022-05-21 08:45:22.000000000 +0200 @@ -1,6 +1,6 @@ # tdiff - tree diffs # configure.ac -# Copyright (C) 1999, 2006, 2008, 2014, 2019 Philippe Troin <phil+github-comm...@fifi.org> +# Copyright (C) 1999, 2006, 2008, 2014, 2019, 2022 Philippe Troin <phil+github-comm...@fifi.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -AC_INIT([tdiff],[0.8.5]) +AC_INIT([tdiff],[0.8.6]) AC_CONFIG_AUX_DIR([config.aux]) AC_CANONICAL_TARGET() FI_PROJECT() @@ -271,6 +271,10 @@ [AC_LANG_PROGRAM([[#include <malloc.h>]], [[mallinfo();]])], [Define to 1 if your system has mallinfo().]) +FI_LINK_IFELSE([for mallinfo2()], [HAVE_MALLINFO2], + [AC_LANG_PROGRAM([[#include <malloc.h>]], + [[mallinfo2();]])], + [Define to 1 if your system has mallinfo2().]) if test "x$getdents" != "xnot-found" then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/linux_getdents64.c new/tdiff-0.8.6/linux_getdents64.c --- old/tdiff-0.8.5/linux_getdents64.c 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/linux_getdents64.c 2022-05-21 08:45:22.000000000 +0200 @@ -10,8 +10,8 @@ char d_name[NAME_MAX+1]; }; -int -getdents64(int fd, char* buf, unsigned count) +ssize_t +getdents64(int fd, void* buf, size_t count) { return syscall(SYS_getdents64, fd, buf, count); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/tdiff.spec new/tdiff-0.8.6/tdiff.spec --- old/tdiff-0.8.5/tdiff.spec 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/tdiff.spec 2022-05-21 08:45:22.000000000 +0200 @@ -1,12 +1,27 @@ Name: tdiff -Version: 0.8.5 +Version: 0.8.6 Release: 1%{?dist} Summary: Compare tree permissions, modes, ownership, xattrs, etc License: GPLv3 URL: https://github.com/F-i-f/tdiff Source: https://github.com/F-i-f/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: fakeroot, zsh, bash, gcc, make, autoconf, automake, libacl-devel + +BuildRequires: zsh +BuildRequires: bash +BuildRequires: gcc +BuildRequires: make +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libacl-devel +%if 0%{?rhel} == 0 +BuildRequires: fakeroot +%endif + +# Work-around for Mageia mucking with config.aux files +%if 0%{?mgaversion} > 0 +%define _disable_libtoolize 1 +%endif %description Compare file system trees, showing any differences in their: @@ -22,10 +37,6 @@ %setup -q %build -if [ ! -e config.aux/missing ] -then - autoreconf -f -fi %configure --enable-compiler-warnings --docdir="%{_docdir}/%{name}" make %{?_smp_mflags} make %{?_smp_mflags} check || ( ./tests-show-results ; exit 1 ) @@ -42,6 +53,13 @@ %{_docdir}/%{name} %changelog +* Sat May 21 2022 Philippe Troin <p...@fifi.org> - 0.8.6-1 +- Upstream release 0.8.6: + * Handle mallinfo2 and glibc 2.34. + +* Sun Nov 3 2019 Philippe Troin <p...@fifi.org> - 0.8.5-2 +- Fix build on RHEL which does not have fakeroot. + * Sat Nov 2 2019 Philippe Troin <p...@fifi.org> - 0.8.5-1 - Upstream release 0.8.5: * Minor bug fixes terminal width handling. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tdiff-0.8.5/utils.c new/tdiff-0.8.6/utils.c --- old/tdiff-0.8.5/utils.c 2019-11-02 06:37:43.000000000 +0100 +++ new/tdiff-0.8.6/utils.c 2022-05-21 08:45:22.000000000 +0200 @@ -1,7 +1,7 @@ /* tdiff - tree diffs Misc utilities. - Copyright (C) 1999, 2014, 2019 Philippe Troin <phil+github-comm...@fifi.org> + Copyright (C) 1999, 2014, 2019, 2022 Philippe Troin <phil+github-comm...@fifi.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ #include <stdio.h> #include <string.h> -#if HAVE_MALLINFO +#if HAVE_MALLINFO || HAVE_MALLINFO2 # include <malloc.h> #endif @@ -84,9 +84,15 @@ void pmem(void) { -#if HAVE_MALLINFO +#if HAVE_MALLINFO || HAVE_MALLINFO2 +# if HAVE_MALLINFO2 + struct mallinfo2 minfo; + minfo = mallinfo2(); +# else struct mallinfo minfo; minfo = mallinfo(); +#endif + fprintf(stderr, " brk memory = %7ld bytes (%ld top bytes unreleased)\n" " mmap memory = %7ld bytes\n"