Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpm-config-SUSE for openSUSE:Factory 
checked in at 2024-09-17 18:17:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpm-config-SUSE (Old)
 and      /work/SRC/openSUSE:Factory/.rpm-config-SUSE.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpm-config-SUSE"

Tue Sep 17 18:17:35 2024 rev:32 rq:1201365 version:20240214

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpm-config-SUSE/rpm-config-SUSE.changes  
2024-02-18 20:22:16.524074600 +0100
+++ 
/work/SRC/openSUSE:Factory/.rpm-config-SUSE.new.29891/rpm-config-SUSE.changes   
    2024-09-17 18:17:42.313763254 +0200
@@ -1,0 +2,6 @@
+Thu Aug  8 04:09:24 UTC 2024 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Use a deterministic binarychangelogtrim
+  based on build times of BuildRequires (boo#1047218)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rpm-config-SUSE.spec ++++++
--- /var/tmp/diff_new_pack.mIQjDI/_old  2024-09-17 18:17:42.957789934 +0200
+++ /var/tmp/diff_new_pack.mIQjDI/_new  2024-09-17 18:17:42.957789934 +0200
@@ -54,10 +54,13 @@
   < suse_macros.in > suse_macros
 
 %if 0%{?is_opensuse}
+# use latest build date of BuildRequires as reference and go to January 1st 
three years back - the + 6 * 3600 is to match exactly the previous value of 
2020-01-01 00:00 as leap-years cause some hours of offset
+trimdate=$(rpm -qa --qf %{BUILDTIME}\\n |sort -n|tail -1)
+trimdate=$(( (trimdate / 31557600 - 3) * 31557600 + 6 * 3600 ))
 cat <<EOF > macros.d/macros.opensuse
 # trim binary changelogs to include roughly 3 years
 # maxnum,cuttime,minnum
-%%_binarychangelogtrim 0,$(date -d "Jan 1 UTC 3 years ago" +%s),10
+%%_binarychangelogtrim 0,$trimdate,10
 EOF
 %endif
 

Reply via email to