Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rinutils for openSUSE:Factory checked in at 2021-12-22 20:18:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rinutils (Old) and /work/SRC/openSUSE:Factory/.rinutils.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rinutils" Wed Dec 22 20:18:01 2021 rev:3 rq:941978 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rinutils/rinutils.changes 2020-12-01 14:23:02.545609922 +0100 +++ /work/SRC/openSUSE:Factory/.rinutils.new.2520/rinutils.changes 2021-12-22 20:19:02.927874672 +0100 @@ -1,0 +2,11 @@ +Tue Dec 21 20:59:23 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 0.10.0: + * Fix the filenames in the comments of **.h and add SPDX identifiers. + * Add -DINSTALL_TO_DATADIR=... in CMakeLists.txt + "Install libdir files to the architecture independent datadir (e.g for Debian)" + * Minor README.asciidoc reformatting. + * Thanks to pert from #debian-mentoring. +- Make use of new INSTALL_TO_DATADIR option, switch to noarch + +------------------------------------------------------------------- Old: ---- rinutils-0.8.0.tar.xz New: ---- rinutils-0.10.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rinutils.spec ++++++ --- /var/tmp/diff_new_pack.wLJ1CQ/_old 2021-12-22 20:19:03.603874989 +0100 +++ /var/tmp/diff_new_pack.wLJ1CQ/_new 2021-12-22 20:19:03.607874991 +0100 @@ -1,7 +1,7 @@ # # spec file for package rinutils # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rinutils -Version: 0.8.0 +Version: 0.10.0 Release: 0 Summary: Shlomi Fish's gnu11 C Library of Random headers License: MIT @@ -35,6 +35,7 @@ %package devel Summary: Shlomi Fish's gnu11 C Library of Random headers Group: Development/Libraries/C and C++ +BuildArch: noarch %description devel Shlomi Fish's gnu11 C Library of Random headers. @@ -43,7 +44,7 @@ %autosetup -p1 %build -%cmake -DWITH_TEST_SUITE=OFF +%cmake -DWITH_TEST_SUITE=OFF -DINSTALL_TO_DATADIR=ON %cmake_build %install @@ -53,8 +54,8 @@ %license LICENSE %doc README.asciidoc NEWS.asciidoc %{_includedir}/rinutils/ -%{_libdir}/pkgconfig/*.pc -%dir %{_libdir}/cmake/ -%{_libdir}/cmake/Rinutils/ +%{_datadir}/pkgconfig/*.pc +%dir %{_datadir}/cmake/ +%{_datadir}/cmake/Rinutils/ %changelog ++++++ rinutils-0.8.0.tar.xz -> rinutils-0.10.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/CMakeLists.txt new/rinutils-0.10.0/CMakeLists.txt --- old/rinutils-0.8.0/CMakeLists.txt 2020-09-24 11:33:18.000000000 +0200 +++ new/rinutils-0.10.0/CMakeLists.txt 2021-09-06 08:15:23.000000000 +0200 @@ -7,6 +7,7 @@ CMAKE_POLICY(SET CMP0054 NEW) option (WITH_TEST_SUITE "Also build and run the test suite.") option (DISABLE_APPLYING_RPATH "Disable applying rpath") +option (INSTALL_TO_DATADIR "Install libdir files to the architecture independent datadir (e.g for Debian)") INCLUDE(FindPkgConfig) INCLUDE(GNUInstallDirs) @@ -61,6 +62,7 @@ # which point to directories outside the build tree to the install RPATH SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) ENDIF () + SET (LIB_BASE "rinutils") INCLUDE(CPack) @@ -69,6 +71,12 @@ SHLOMIF_FINALIZE_FLAGS() +IF (INSTALL_TO_DATADIR) + SET(RINUTILS_INSTALL_MYLIBDIR "${CMAKE_INSTALL_DATADIR}") +ELSE () + SET(RINUTILS_INSTALL_MYLIBDIR "${CMAKE_INSTALL_LIBDIR}") +ENDIF () + IF ("$ENV{FCS_CLANG}") ADD_DEFINITIONS("-Weverything -Wno-language-extension-token -Wno-gnu-statement-expression -Wno-used-but-marked-unused -Wno-padded -Wno-cast-align -Wno-extra-semi-stmt") ENDIF () @@ -107,7 +115,7 @@ FILES "${CMAKE_CURRENT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" DESTINATION - "${CMAKE_INSTALL_LIBDIR}/pkgconfig" + "${RINUTILS_INSTALL_MYLIBDIR}/pkgconfig" ) CONFIGURE_FILE( @@ -132,7 +140,7 @@ include(CMakePackageConfigHelpers) configure_package_config_file(RinutilsConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/RinutilsConfig.cmake - INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Rinutils + INSTALL_DESTINATION ${RINUTILS_INSTALL_MYLIBDIR}/cmake/Rinutils PATH_VARS CMAKE_INSTALL_INCLUDEDIR) write_basic_package_version_file( ${CMAKE_CURRENT_BINARY_DIR}/RinutilsConfigVersion.cmake @@ -140,7 +148,7 @@ COMPATIBILITY SameMajorVersion ) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RinutilsConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/RinutilsConfigVersion.cmake - DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Rinutils ) + DESTINATION ${RINUTILS_INSTALL_MYLIBDIR}/cmake/Rinutils ) IF (WITH_TEST_SUITE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/NEWS.asciidoc new/rinutils-0.10.0/NEWS.asciidoc --- old/rinutils-0.8.0/NEWS.asciidoc 2020-11-30 13:56:37.000000000 +0100 +++ new/rinutils-0.10.0/NEWS.asciidoc 2021-09-06 08:17:46.000000000 +0200 @@ -4,6 +4,14 @@ :Date: 2019-11-17 :Revision: $Id$ +0.10.0 ( 06 Sep 2021 ) +---------------------------- + +* Fix the filenames in the comments of +**.h+ and add SPDX identifiers. +* Add -DINSTALL_TO_DATADIR=... in CMakeLists.txt "Install libdir files to the architecture independent datadir (e.g for Debian)" +* Minor README.asciidoc reformatting. +* Thanks to pert from +#debian-mentoring+ . + 0.8.0 ( 30 Nov 2020 ) ---------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/README.asciidoc new/rinutils-0.10.0/README.asciidoc --- old/rinutils-0.8.0/README.asciidoc 2020-11-30 13:47:37.000000000 +0100 +++ new/rinutils-0.10.0/README.asciidoc 2021-08-27 17:35:33.000000000 +0200 @@ -15,27 +15,27 @@ They include: -1. sizeof-aware wrappers for https://en.cppreference.com/w/c/memory/malloc[malloc()/realloc()] +. sizeof-aware wrappers for https://en.cppreference.com/w/c/memory/malloc[malloc()/realloc()] -2. +COUNT()+ and +LAST()+ macros. +. +COUNT()+ and +LAST()+ macros. -3. +DLLEXPORT+ symbols-modifiers. +. +DLLEXPORT+ symbols-modifiers. -4. +likely()+ and +unlikely()+ CPU branch-prediction hints (see https://stackoverflow.com/questions/109710[Stack Overflow question]). +. +likely()+ and +unlikely()+ CPU branch-prediction hints (see https://stackoverflow.com/questions/109710[Stack Overflow question]). -5. +long long+ sprintf()-formats +. +long long+ sprintf()-formats -6. +min()+ and +max()+ +. +min()+ and +max()+ -7. +rinutils/portable_time.h+ for cross-platform time querying. +. +rinutils/portable_time.h+ for cross-platform time querying. -8. Some string utilities as inline functions. +. Some string utilities as inline functions. -9. +typeof_wrap.h+ for https://en.cppreference.com/w/cpp/language/auto[C++-"auto"]-like macros. +. +typeof_wrap.h+ for https://en.cppreference.com/w/cpp/language/auto[C++-"auto"]-like macros. -10. +GCC_UNUSED+ for silencing warnings. +. +GCC_UNUSED+ for silencing warnings. -11. +rinutils/rin_cmocka.h+ for reducing https://cmocka.org/[cmocka???s] boilerplate. +. +rinutils/rin_cmocka.h+ for reducing https://cmocka.org/[cmocka???s] boilerplate. **Note:** we only support the https://gcc.gnu.org/onlinedocs/gcc/Standards.html[`-std=gnu11`] dialect as supported by https://en.wikipedia.org/wiki/GNU_Compiler_Collection[GCC], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/librinutils.pc.in new/rinutils-0.10.0/librinutils.pc.in --- old/rinutils-0.8.0/librinutils.pc.in 2020-03-30 15:09:53.000000000 +0200 +++ new/rinutils-0.10.0/librinutils.pc.in 2021-09-06 07:55:27.000000000 +0200 @@ -1,6 +1,6 @@ prefix="@CMAKE_INSTALL_PREFIX@" exec_prefix=${prefix} -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ +libdir=${exec_prefix}/@RINUTILS_INSTALL_MYLIBDIR@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: rinutils diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/alloc_wrap.h new/rinutils-0.10.0/rinutils/include/rinutils/alloc_wrap.h --- old/rinutils-0.8.0/rinutils/include/rinutils/alloc_wrap.h 2020-07-11 15:22:09.000000000 +0200 +++ new/rinutils-0.10.0/rinutils/include/rinutils/alloc_wrap.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2000 Shlomi Fish // alloc_wrap.h - convenient wrappers for malloc(), realloc(), etc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/bit_rw.h new/rinutils-0.10.0/rinutils/include/rinutils/bit_rw.h --- old/rinutils-0.8.0/rinutils/include/rinutils/bit_rw.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/bit_rw.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: MIT // This file is part of Black Hole Solitaire Solver. It is subject to the -// license terms in the COPYING file found in the top-level directory of this +// license terms in the LICENSE file found in the top-level directory of this // distribution and at // https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/ // . No part of Black Hole Solitaire Solver, including this file, may be // copied, modified, propagated, or distributed except according to the terms -// contained in the COPYING file. +// contained in the LICENSE file. // // Copyright (c) 2010 Shlomi Fish diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/count.h new/rinutils-0.10.0/rinutils/include/rinutils/count.h --- old/rinutils-0.8.0/rinutils/include/rinutils/count.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/count.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2016 Shlomi Fish // count.h - define the COUNT macro. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/dllexport.h new/rinutils-0.10.0/rinutils/include/rinutils/dllexport.h --- old/rinutils-0.8.0/rinutils/include/rinutils/dllexport.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/dllexport.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2000 Shlomi Fish #pragma once diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/exit_error.h new/rinutils-0.10.0/rinutils/include/rinutils/exit_error.h --- old/rinutils-0.8.0/rinutils/include/rinutils/exit_error.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/exit_error.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2000 Shlomi Fish #pragma once diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/likely.h new/rinutils-0.10.0/rinutils/include/rinutils/likely.h --- old/rinutils-0.8.0/rinutils/include/rinutils/likely.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/likely.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2010 Shlomi Fish // likely.h - the purpose of this file is to define the likely diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/longlong.h new/rinutils-0.10.0/rinutils/include/rinutils/longlong.h --- old/rinutils-0.8.0/rinutils/include/rinutils/longlong.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/longlong.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT // This file is part of rinutils. It is subject to the license terms in // the LICENSE file found in the top-level directory of this distribution // and at https://github.com/shlomif/rinutils/ . No part of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/min_and_max.h new/rinutils-0.10.0/rinutils/include/rinutils/min_and_max.h --- old/rinutils-0.8.0/rinutils/include/rinutils/min_and_max.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/min_and_max.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2000 Shlomi Fish // min_and_max.h - header file for the min(a,b) and max(a,b) macros. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/portable_time.h new/rinutils-0.10.0/rinutils/include/rinutils/portable_time.h --- old/rinutils-0.8.0/rinutils/include/rinutils/portable_time.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/portable_time.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT // This file is part of rinutils. It is subject to the license terms in // the LICENSE file found in the top-level directory of this distribution // and at https://github.com/shlomif/rinutils/ . No part of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/rin_cmocka.h new/rinutils-0.10.0/rinutils/include/rinutils/rin_cmocka.h --- old/rinutils-0.8.0/rinutils/include/rinutils/rin_cmocka.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/rin_cmocka.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2019 Shlomi Fish // CMocka headers boileplate diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/rinutils.h new/rinutils-0.10.0/rinutils/include/rinutils/rinutils.h --- old/rinutils-0.8.0/rinutils/include/rinutils/rinutils.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/rinutils.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2016 Shlomi Fish // rinutils.h - a common header for Rindolf's (= Shlomi Fish) utility headers. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/str_utils.h new/rinutils-0.10.0/rinutils/include/rinutils/str_utils.h --- old/rinutils-0.8.0/rinutils/include/rinutils/str_utils.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/str_utils.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2012 Shlomi Fish // str_utils.h - string utilities. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/typeof_wrap.h new/rinutils-0.10.0/rinutils/include/rinutils/typeof_wrap.h --- old/rinutils-0.8.0/rinutils/include/rinutils/typeof_wrap.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/typeof_wrap.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2012 Shlomi Fish // typeof_wrap.h - convenient wrappers for GCC's typeof diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils/include/rinutils/unused.h new/rinutils-0.10.0/rinutils/include/rinutils/unused.h --- old/rinutils-0.8.0/rinutils/include/rinutils/unused.h 2019-12-27 14:27:23.000000000 +0100 +++ new/rinutils-0.10.0/rinutils/include/rinutils/unused.h 2021-09-06 07:44:06.000000000 +0200 @@ -1,8 +1,9 @@ +// SPDX-License-Identifier: MIT // This file is part of Freecell Solver. It is subject to the license terms in -// the COPYING.txt file found in the top-level directory of this distribution +// the LICENSE file found in the top-level directory of this distribution // and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of // Freecell Solver, including this file, may be copied, modified, propagated, -// or distributed except according to the terms contained in the COPYING file. +// or distributed except according to the terms contained in the LICENSE file. // // Copyright (c) 2009 Shlomi Fish // unused.h - define the GCC_UNUSED macro to suppress unused parameters diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/rinutils.spec new/rinutils-0.10.0/rinutils.spec --- old/rinutils-0.8.0/rinutils.spec 2020-11-30 13:58:10.000000000 +0100 +++ new/rinutils-0.10.0/rinutils.spec 2021-09-06 08:23:22.000000000 +0200 @@ -1,6 +1,6 @@ %define debug_package %{nil} Name: rinutils -Version: 0.8.0 +Version: 0.10.0 Release: 1 License: MIT Group: Development/C diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/run-tests.pl new/rinutils-0.10.0/run-tests.pl --- old/rinutils-0.8.0/run-tests.pl 2020-09-23 15:30:44.000000000 +0200 +++ new/rinutils-0.10.0/run-tests.pl 2021-06-28 13:51:06.000000000 +0200 @@ -86,8 +86,9 @@ } { - my $fcs_path = Path::Tiny->cwd; - local $ENV{FCS_PATH} = $fcs_path; + my $fcs_bin_path = Path::Tiny->cwd; + local $ENV{FCS_PATH} = $fcs_bin_path; + local $ENV{FCS_BIN_PATH} = $fcs_bin_path; local $ENV{FCS_SRC_PATH} = $abs_bindir; local $ENV{PYTHONDONTWRITEBYTECODE} = '1'; @@ -103,11 +104,11 @@ Env::Path->CPATH->Prepend( $abs_bindir, ); - Env::Path->LD_LIBRARY_PATH->Prepend($fcs_path); + Env::Path->LD_LIBRARY_PATH->Prepend($fcs_bin_path); if ( is_win() ) { # For the shared objects. - Env::Path->PATH->Append($fcs_path); + Env::Path->PATH->Append($fcs_bin_path); } my $foo_lib_dir = $abs_bindir->child( "t", "lib" ); @@ -135,7 +136,7 @@ ' ', qw( BreakOnFailure ColorSummary ColorFileVerdicts AlternateInterpreters TrimDisplayedFilenames - ) + ) ); my $is_ninja = ( -e "build.ninja" ); @@ -160,7 +161,7 @@ myglob('t'), myglob('.'), ( - ( $fcs_path ne $abs_bindir ) + ( $fcs_bin_path ne $abs_bindir ) ? ( myglob("$abs_bindir/t") ) : () ), @@ -188,7 +189,7 @@ } print STDERR <<"EOF"; -FCS_PATH = $ENV{FCS_PATH} +FCS_BIN_PATH = $ENV{FCS_BIN_PATH} FCS_SRC_PATH = $ENV{FCS_SRC_PATH} FCS_TEST_TAGS = <$ENV{FCS_TEST_TAGS}> EOF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/t/lib/Rinutils/InlineWrap.pm new/rinutils-0.10.0/t/lib/Rinutils/InlineWrap.pm --- old/rinutils-0.8.0/t/lib/Rinutils/InlineWrap.pm 2020-09-23 15:33:29.000000000 +0200 +++ new/rinutils-0.10.0/t/lib/Rinutils/InlineWrap.pm 2021-06-28 13:51:31.000000000 +0200 @@ -38,7 +38,7 @@ ( ["include"], ["rinutils/include"], [] ) ), CCFLAGS => $ccflags, CLEAN_AFTER_BUILD => 0, - LIBS => "-L$ENV{FCS_PATH} $libs", + LIBS => "-L$ENV{FCS_BIN_PATH} $libs", @workaround_for_a_heisenbug, %args, ); @@ -56,7 +56,9 @@ =cut + ## no critic eval "{ package $pkg; Inline->bind(\@inline_params); }"; + ## use critic if ($@) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/t/lib/Rinutils/Paths.pm new/rinutils-0.10.0/t/lib/Rinutils/Paths.pm --- old/rinutils-0.8.0/t/lib/Rinutils/Paths.pm 2020-09-23 15:39:50.000000000 +0200 +++ new/rinutils-0.10.0/t/lib/Rinutils/Paths.pm 2021-06-28 13:52:25.000000000 +0200 @@ -16,12 +16,12 @@ return $FCS_SRC_PATH->child( @{ shift @_ } ); } -my $FCS_PATH = path( $ENV{FCS_PATH} ); +my $FCS_BIN_PATH = path( $ENV{FCS_BIN_PATH} ); # A file in the output/binaries directory where fc-solve was compiled. sub bin_file { - return $FCS_PATH->child( @{ shift @_ } ); + return $FCS_BIN_PATH->child( @{ shift @_ } ); } 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/t/style-trailing-space.t new/rinutils-0.10.0/t/style-trailing-space.t --- old/rinutils-0.8.0/t/style-trailing-space.t 2019-12-27 15:22:50.000000000 +0100 +++ new/rinutils-0.10.0/t/style-trailing-space.t 2021-06-28 13:52:49.000000000 +0200 @@ -6,7 +6,7 @@ use Test::TrailingSpace (); use Test::More tests => 2; -foreach my $path ( @ENV{qw/FCS_SRC_PATH FCS_PATH/} ) +foreach my $path ( @ENV{qw/FCS_SRC_PATH FCS_BIN_PATH/} ) { my $finder = Test::TrailingSpace->new( { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rinutils-0.8.0/ver.txt new/rinutils-0.10.0/ver.txt --- old/rinutils-0.8.0/ver.txt 2020-11-30 13:48:53.000000000 +0100 +++ new/rinutils-0.10.0/ver.txt 2021-09-06 08:12:37.000000000 +0200 @@ -1 +1 @@ -0.8.0 +0.10.0