Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package elfutils for openSUSE:Factory checked in at 2022-11-12 17:39:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/elfutils (Old) and /work/SRC/openSUSE:Factory/.elfutils.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elfutils" Sat Nov 12 17:39:50 2022 rev:102 rq:1034953 version:0.188 Changes: -------- --- /work/SRC/openSUSE:Factory/elfutils/elfutils-debuginfod.changes 2022-11-09 12:55:54.519831480 +0100 +++ /work/SRC/openSUSE:Factory/.elfutils.new.1597/elfutils-debuginfod.changes 2022-11-12 17:39:52.777707383 +0100 @@ -1,0 +2,7 @@ +Wed Nov 9 15:31:15 UTC 2022 - Dirk Müller <dmuel...@suse.com> + +- align patches section +- remove date/time handling weirdness, elfutils does no longer + use __DATE__ or __TIME__ (as proven by the newly added -Werror=date-time) + +------------------------------------------------------------------- elfutils.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ elfutils-debuginfod.spec ++++++ --- /var/tmp/diff_new_pack.Fjk6JN/_old 2022-11-12 17:39:53.469711503 +0100 +++ /var/tmp/diff_new_pack.Fjk6JN/_new 2022-11-12 17:39:53.473711527 +0100 @@ -26,10 +26,10 @@ #Git-Clone: git://sourceware.org/git/elfutils Source: https://fedorahosted.org/releases/e/l/elfutils/%{version}/elfutils-%{version}.tar.bz2 Source1: https://fedorahosted.org/releases/e/l/elfutils/%{version}/elfutils-%{version}.tar.bz2.sig -Source2: elfutils.changes Source3: elfutils.keyring Source4: %{name}.sysusers Patch1: harden_debuginfod.service.patch +Patch2: 0005-backends-Add-RISC-V-object-attribute-printing.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -114,17 +114,7 @@ %build %sysusers_generate_pre %{SOURCE4} %{name} %{name}.conf -# Change DATE/TIME macros to use last change time of elfutils.changes -# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html -modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" -DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" -TIME="\"$(date -d "${modified}" "+%%R")\"" -find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + -# Set modversion used to verify dynamically loaded ebl backend matches to -# similarly predictable value [upstream default is hostname + date] -MODVERSION="suse-build `eval echo ${DATE} ${TIME}`" -sed --in-place "s/^MODVERSION=.*\$/MODVERSION=\"${MODVERSION}\"/" configure.ac -export CFLAGS="%optflags" +export CFLAGS="%optflags -Werror=date-time" CFLAGS+=" -g" # tests need debug info enabled (boo#1031556) %ifarch %sparc # Small PIC model not sufficient ++++++ elfutils.spec ++++++ --- /var/tmp/diff_new_pack.Fjk6JN/_old 2022-11-12 17:39:53.505711717 +0100 +++ /var/tmp/diff_new_pack.Fjk6JN/_new 2022-11-12 17:39:53.509711741 +0100 @@ -27,10 +27,11 @@ Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source1: README-BEFORE-ADDING-PATCHES Source2: baselibs.conf -Source3: %{name}.changes Source4: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2.sig Source5: %{name}.keyring Source6: elfutils-rpmlintrc +Patch1: harden_debuginfod.service.patch +Patch2: 0005-backends-Add-RISC-V-object-attribute-printing.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -40,8 +41,6 @@ BuildRequires: xz-devel BuildRequires: zlib-devel -Patch24304: 0005-backends-Add-RISC-V-object-attribute-printing.patch - %description elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, @@ -151,17 +150,7 @@ %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -# Change DATE/TIME macros to use last change time of elfutils.changes -# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html -modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" -DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" -TIME="\"$(date -d "${modified}" "+%%R")\"" -find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + -# Set modversion used to verify dynamically loaded ebl backend matches to -# similarly predictable value [upstream default is hostname + date] -MODVERSION="suse-build `eval echo ${DATE} ${TIME}`" -sed --in-place "s/^MODVERSION=.*\$/MODVERSION=\"${MODVERSION}\"/" configure.ac -export CFLAGS="%optflags" +export CFLAGS="%optflags -Werror=date-time" CFLAGS+=" -g" # tests need debug info enabled (boo#1031556) %ifarch %sparc # Small PIC model not sufficient