Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package suse-hpc for openSUSE:Factory checked in at 2024-02-04 19:08:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-hpc (Old) and /work/SRC/openSUSE:Factory/.suse-hpc.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-hpc" Sun Feb 4 19:08:59 2024 rev:30 rq:1143794 version:0.5.20240203.a16bd5e Changes: -------- --- /work/SRC/openSUSE:Factory/suse-hpc/suse-hpc.changes 2023-10-27 22:29:41.246802668 +0200 +++ /work/SRC/openSUSE:Factory/.suse-hpc.new.1815/suse-hpc.changes 2024-02-04 19:11:12.512947960 +0100 @@ -1,0 +2,11 @@ +Sat Feb 3 11:34:25 UTC 2024 - Egbert Eich <e...@suse.com> + +- Fix master package README generation 'trick' for rpm <= 4.19.1 + rpm version 4.19.1 started to add quotes around the file name + when it expands a %doc statements into a script. This broke + the 'trick' we've used to generate a README file on-the-fly. + Here the saving grace was the introduction of the macro %rpmversion + with the same version of rpm that can be used to identify + versions affected by this. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-hpc.spec ++++++ --- /var/tmp/diff_new_pack.Cpl5uj/_old 2024-02-04 19:11:13.020966266 +0100 +++ /var/tmp/diff_new_pack.Cpl5uj/_new 2024-02-04 19:11:13.024966411 +0100 @@ -1,7 +1,7 @@ # # spec file for package suse-hpc # -# 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 @@ -20,7 +20,7 @@ License: BSD-3-Clause Group: Productivity/Clustering/Computing Name: suse-hpc -Version: 0.5.20231026.36e049d +Version: 0.5.20240203.a16bd5e Release: 0 Source0: macros.hpc Source1: dlinfo.c ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Cpl5uj/_old 2024-02-04 19:11:13.056967564 +0100 +++ /var/tmp/diff_new_pack.Cpl5uj/_new 2024-02-04 19:11:13.060967708 +0100 @@ -6,7 +6,7 @@ <param name="exclude">.git</param> <param name="filename">suse-hpc</param> <param name="versionformat">0.5.%cd.%h</param> - <param name="revision">36e049da8d5c8bab1e78e15d7a26c91b58b12ff5</param> + <param name="revision">a16bd5ecc15e1a0ec8904b78102c7b444ce18df5</param> <param name="extract">general/dlinfo.c</param> <param name="extract">general/macros.hpc</param> <param name="extract">general/hpc_elf.pl</param> ++++++ macros.hpc ++++++ --- /var/tmp/diff_new_pack.Cpl5uj/_old 2024-02-04 19:11:13.112969582 +0100 +++ /var/tmp/diff_new_pack.Cpl5uj/_new 2024-02-04 19:11:13.116969726 +0100 @@ -361,6 +361,21 @@ echo %nil \ %{-x:exit 1} +# Get rpm version string from %rpmversion that can be used in +# comparisons if this macro exists. If not, return 0 +%_hpc_rpmv %{lua: \ + v=rpm.expand("%rpmversion") \ + r=0 \ + if (v == "%rpmversion") then \ + print("0") \ + else \ + for w in string.gmatch(v, "(%w+)") do \ + r=r*100+w \ + end \ + print(math.tointeger(r)) \ + end \ +} + # # Create 'master' package: packages which have the built package as # dependency. This way, the latest version of a library can be installed @@ -480,7 +495,11 @@ echo "#!/bin/bash" > $tmp; \ echo "echo -e %_msg \> $readme && rm -f $tmp || true" >> $tmp; \ chmod u+x $tmp; echo -n $tmp) \ +%if %{_hpc_rpmv} < 41901 \ %doc $(%_tmpexec)./%{_readme} \ +%else \ +%doc '$(%_tmpexec)'./%{_readme} \ +%endif \ } \ %{nil}