Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hugo for openSUSE:Factory checked in at 2023-09-29 21:13:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hugo (Old) and /work/SRC/openSUSE:Factory/.hugo.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "hugo" Fri Sep 29 21:13:36 2023 rev:47 rq:1113965 version:0.119.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hugo/hugo.changes 2023-09-26 22:23:48.336409709 +0200 +++ /work/SRC/openSUSE:Factory/.hugo.new.28202/hugo.changes 2023-09-29 21:14:41.196157523 +0200 @@ -1,0 +2,10 @@ +Thu Sep 28 04:43:41 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com> + +- Packaging improvements: + * Build PIE with pattern that may become recommended procedure: + %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build + A go toolchain buildmode default config would be preferable + but none exist at this time. + * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hugo.spec ++++++ --- /var/tmp/diff_new_pack.Z0rRe4/_old 2023-09-29 21:14:42.468203418 +0200 +++ /var/tmp/diff_new_pack.Z0rRe4/_new 2023-09-29 21:14:42.468203418 +0200 @@ -65,10 +65,10 @@ export CGO_LDFLAGS="$(pkg-config --libs libsass) $(pkg-config --libs libwebp)" # Build the binary. -go build \ - -mod=vendor \ - -tags extended \ - -buildmode=pie +%ifnarch ppc64 +export GOFLAGS="-buildmode=pie" +%endif +go build -tags extended %install # Install the binary.