Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package s390-tools for openSUSE:Factory checked in at 2026-12-04 15:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/s390-tools (Old) and /work/SRC/openSUSE:Factory/.s390-tools.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "s390-tools" Fri Dec 4 15:25:29 2026 rev:127 rq:1402944 version:2.44.1 Changes: -------- --- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes 2026-11-21 21:46:06.571376856 +0100 +++ /work/SRC/openSUSE:Factory/.s390-tools.new.1340718/s390-tools.changes 2026-12-04 15:27:25.726803339 +0100 @@ -1,0 +2,14 @@ +Thu Dec 3 09:00:14 UTC 2026 - Nikolay Gueorguiev <[email protected]> + +- Added BuildRequires and Requires (bsc#1292799) + * BuildRequires: glibc-gconv-modules-extra + * Requires: glibc-gconv-modules-extra +- Added BuildRequires + * BuildRequires: zstd +- Added flags %{?_smp_mflags} to %make_install +- Fix installation of shell completions with cargo >= 1.100 + (several build-script out directories per package) + * s390-tools-rust-cargo-build-dir.patch +- Re-vendor-ed vendor.tar.zst + +------------------------------------------------------------------- New: ---- s390-tools-rust-cargo-build-dir.patch ----------(New B)---------- New: (several build-script out directories per package) * s390-tools-rust-cargo-build-dir.patch - Re-vendor-ed vendor.tar.zst ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ s390-tools.spec ++++++ --- /var/tmp/diff_new_pack.OGzzsp/_old 2026-12-04 15:27:27.729887560 +0100 +++ /var/tmp/diff_new_pack.OGzzsp/_new 2026-12-04 15:27:27.731887644 +0100 @@ -101,6 +101,8 @@ ### Patch910: s390-tools-ALP-zdev-live.patch ### +Patch920: s390-tools-rust-cargo-build-dir.patch +### BuildRequires: curl-devel BuildRequires: gcc @@ -108,6 +110,7 @@ BuildRequires: gettext-tools BuildRequires: glib2-devel BuildRequires: zlib-devel +BuildRequires: zstd ### Cargo / Rust (common for s390x and x86_64) BuildRequires: rust >= 1.85.0 BuildRequires: cargo >= 1.85.0 @@ -121,6 +124,7 @@ BuildRequires: dracut BuildRequires: fuse3-devel BuildRequires: glibc-devel-static +BuildRequires: glibc-gconv-modules-extra BuildRequires: kernel-zfcpdump BuildRequires: libcryptsetup-devel >= 2.8.2 BuildRequires: libjson-c-devel @@ -147,6 +151,7 @@ Requires: util-linux %ifarch s390x Requires: gawk +Requires: glibc-gconv-modules-extra Requires: iproute2 Requires: makedumpfile Requires: perl-base @@ -372,7 +377,7 @@ mkdir -p %{buildroot}/boot/zipl mkdir -p %{buildroot}%{_sysconfdir}/zkey/repository -%make_install \ +%make_install %{?_smp_mflags} \ ARCH=s390x \ ZFCPDUMP_DIR=%{_prefix}/lib/s390-tools/zfcpdump \ DISTRELEASE=%{rbrelease} \ @@ -708,7 +713,7 @@ HAVE_DRACUT=1 %install -%make_install \ +%make_install %{?_smp_mflags} \ DISTRELEASE=%{rbrelease} \ SYSTEMDSYSTEMUNITDIR=%{_unitdir} \ UDEVRUNDIR=/run/udev \ @@ -726,9 +731,10 @@ # --- Shell Completions --- # Using wildcards prevents the need to manually list every new completion file +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/* %dir %{_datadir}/zsh -%{_datadir}/zsh/* %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_* ++++++ s390-tools-rust-cargo-build-dir.patch ++++++ diff -Naur a/rust/Makefile b/rust/Makefile --- a/rust/Makefile 2026-12-03 09:26:45.254181313 +0000 +++ b/rust/Makefile 2026-12-03 09:26:45.265181347 +0000 @@ -140,17 +140,29 @@ $(INSTALL) -m 644 $(man) -t $(DESTDIR)$(MANDIR)/man1;)) ln -sf pvimg-create.1 $(DESTDIR)$(MANDIR)/man1/genprotimg.1 +# Completion files generated by the build script of package $(1) that match +# the find(1) test $(2). Supports the legacy cargo layout +# (build/<pkg>-<hash>/out) and the layout of cargo >= 1.100 +# (build/<pkg>/<hash>/out), where a package can have several out directories, +# not all of them containing completions. Uses the out directory holding the +# newest matching file, and fails instead of letting find fall back to '.'. +pv_completion_dir = $(shell find target/release/build \( -path 'target/release/build/$(1)-*/out/*' \ + -o -path 'target/release/build/$(1)/*/out/*' \) -type f $(2) -printf '%T@ %h\n' \ + 2>/dev/null | sort -n | tail -n1 | cut -d' ' -f2-) +pv_completions = $(or $(shell find $(or $(call pv_completion_dir,$(1),$(2)),/nonexistent) \ + -maxdepth 1 -type f $(2) 2>/dev/null),$(error No completion files found for $(1))) + install-shell-completions: install-bash-completion install-zsh-completion install-bash-completion: $(PV_TARGETS) $(INSTALL) -d -m 755 $(DESTDIR)$(BASHCOMPLETIONDIR) $(foreach target,$(PV_TARGETS),\ - $(INSTALL) -m 0644 --preserve-timestamps -- $(shell find $(shell ls --sort=time --reverse --directory target/release/build/$(target)-*/out/ |tail -n1) -name '*.bash') $(DESTDIR)$(BASHCOMPLETIONDIR);) + $(INSTALL) -m 0644 --preserve-timestamps -- $(call pv_completions,$(target),-name '*.bash') $(DESTDIR)$(BASHCOMPLETIONDIR);) install-zsh-completion: $(PV_TARGETS) $(INSTALL) -d -m 755 $(DESTDIR)$(ZSHCOMPLETIONDIR) $(foreach target,$(PV_TARGETS),\ - $(INSTALL) -m 0644 --preserve-timestamps -- $(shell find $(shell ls --sort=time --reverse --directory target/release/build/$(target)-*/out/ |tail -n1) -regex '.*/_[a-zA-Z0-9]+') $(DESTDIR)$(ZSHCOMPLETIONDIR);) + $(INSTALL) -m 0644 --preserve-timestamps -- $(call pv_completions,$(target),-regex '.*/_[a-zA-Z0-9]+') $(DESTDIR)$(ZSHCOMPLETIONDIR);) .PHONY: all install clean skip-build install-rust-tools print-rust-targets install-man rust-test install-bash-completion install-zsh-completion install-shell-completions ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/s390-tools/vendor.tar.zst /work/SRC/openSUSE:Factory/.s390-tools.new.1340718/vendor.tar.zst differ: char 10, line 1
