Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package patchelf for openSUSE:Factory checked in at 2024-03-10 20:24:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/patchelf (Old) and /work/SRC/openSUSE:Factory/.patchelf.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patchelf" Sun Mar 10 20:24:03 2024 rev:23 rq:1156637 version:0.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/patchelf/patchelf.changes 2023-12-05 17:00:50.515896557 +0100 +++ /work/SRC/openSUSE:Factory/.patchelf.new.1770/patchelf.changes 2024-03-10 20:24:15.249195195 +0100 @@ -1,0 +2,9 @@ +Fri Mar 8 23:25:32 UTC 2024 - Martin Jambor <[email protected]> + +- Make the package buildable also on Leap 15.6 and SLE 15 SP 6. + * Conditionally compile with gcc 13. + * fix-rename-dynamic-symbols.sh-test-issue-503.patch new patch to + fix upstream (github) issue 503, not using the correct flags to + build a binary as a part of the rename-dynamic-symbols.sh test. + +------------------------------------------------------------------- New: ---- fix-rename-dynamic-symbols.sh-test-issue-503.patch BETA DEBUG BEGIN: New: * Conditionally compile with gcc 13. * fix-rename-dynamic-symbols.sh-test-issue-503.patch new patch to fix upstream (github) issue 503, not using the correct flags to BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ patchelf.spec ++++++ --- /var/tmp/diff_new_pack.LoiYSe/_old 2024-03-10 20:24:15.677210915 +0100 +++ /var/tmp/diff_new_pack.LoiYSe/_new 2024-03-10 20:24:15.681211062 +0100 @@ -1,7 +1,7 @@ # # spec file for package patchelf # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,14 @@ Group: Development/Libraries/C and C++ URL: https://nixos.org/patchelf.html Source: https://github.com/NixOS/patchelf/releases/download/%{version}/patchelf-%{version}.tar.bz2 +Patch1: fix-rename-dynamic-symbols.sh-test-issue-503.patch + +%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150600 +BuildRequires: gcc13 +BuildRequires: gcc13-c++ +%else BuildRequires: gcc-c++ +%endif %description PatchELF is a simple utility for modifing existing ELF executables and @@ -35,6 +42,10 @@ %autosetup -p1 %build +%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150600 +export CC=gcc-13 +export CXX=g++-13 +%endif %configure %make_build ++++++ fix-rename-dynamic-symbols.sh-test-issue-503.patch ++++++ Index: patchelf-0.18.0/tests/Makefile.in =================================================================== --- patchelf-0.18.0.orig/tests/Makefile.in +++ patchelf-0.18.0/tests/Makefile.in @@ -729,7 +729,7 @@ many_syms_main_SOURCES = many-syms-main. many_syms_main_LDFLAGS = $(LDFLAGS_local) many_syms_main_LDADD = -lmany-syms $(AM_LDADD) many_syms_main_DEPENDENCIES = libmany-syms.so -many_syms_main_CFLAGS = -pie +many_syms_main_CFLAGS = -pie -fPIE libmany_syms_so_SOURCES = many-syms.c libmany_syms_so_LDFLAGS = $(LDFLAGS_sharedlib) no_rpath_SOURCES = no-rpath.c
