Accepting request 1102845 from home:ngueorguiev:branches:Base:System

- Upgrade to version 2.29.0 (jsc#PED-3275)
  * s390-tools now supports tools written in Rust.
  * Add compdb Makefile target to create 'compile_commands.json' to support LSP
    backends in IDEs and editors
- Add new tools / libraries:
  * rust/pv: Library for pv tools written in rust
  * rust/pvsecret: Tool to manage UV-secrets
- Changes of existing tools:
  * dbginfo.sh: Global IFS variable
  * genprotimg: Add support for add-secret requests
  * genprotimg: Build debuginfo files for bootloader
  * hyptop: Add real SMT utilization field
  * hyptop: Allow users to set speedup factor
  * pvattest: Add yaml-output for verify command
  * zipl: Build debuginfo files for bootloader
- Bug Fixes:
  * dump2tar: Fix truncated paths
  * zdev/dracut: fix kdump build to integrate with site support
- Amended .spec for version 2.29.0, including Rust integration

OBS-URL: https://build.opensuse.org/request/show/1102845
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=176
This commit is contained in:
Nikolay Gueorguiev 2023-08-08 09:15:57 +00:00 committed by Git OBS Bridge
parent 089c94ca65
commit 1191853280
6 changed files with 64 additions and 4 deletions

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor/"

BIN
s390-tools-2.27.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
s390-tools-2.29.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:849ff400dc6c1eb7eebe4aa3e7a4871721c25bcee6cfdd0535a056a038fd3ab0
size 1950182

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Aug 8 08:00:14 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Upgrade to version 2.29.0 (jsc#PED-3275)
* s390-tools now supports tools written in Rust.
* Add compdb Makefile target to create 'compile_commands.json' to support LSP
backends in IDEs and editors
- Add new tools / libraries:
* rust/pv: Library for pv tools written in rust
* rust/pvsecret: Tool to manage UV-secrets
- Changes of existing tools:
* dbginfo.sh: Global IFS variable
* genprotimg: Add support for add-secret requests
* genprotimg: Build debuginfo files for bootloader
* hyptop: Add real SMT utilization field
* hyptop: Allow users to set speedup factor
* pvattest: Add yaml-output for verify command
* zipl: Build debuginfo files for bootloader
- Bug Fixes:
* dump2tar: Fix truncated paths
* zdev/dracut: fix kdump build to integrate with site support
- Amended .spec for version 2.29.0, including Rust integration
-------------------------------------------------------------------
Wed Jun 14 11:24:27 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>

View File

@ -33,7 +33,7 @@
%endif
Name: s390-tools
Version: 2.27.0
Version: 2.29.0
Release: 0
Summary: S/390 tools like zipl and dasdfmt
License: MIT
@ -127,6 +127,9 @@ Source97: qeth_configure.8
Source98: zfcp_disk_configure.8
Source99: zfcp_host_configure.8
###
Source200: cargo_config
Source201: vendor.tar.gz
###
# IBM patches
###
@ -171,6 +174,12 @@ BuildRequires: qclib-devel-static
BuildRequires: systemd-devel
BuildRequires: tcpd-devel
BuildRequires: zlib-devel-static
### Cargo
BuildRequires: rust
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: openssl
###
# Don't build with pie to avoid problems with zipl
#!BuildIgnore: gcc-PIE
Requires: coreutils
@ -308,10 +317,26 @@ operational path.
%prep
%autosetup -p1
###
install -D -m 0644 %{SOURCE200} .cargo/config
cat << EOF >> .cargo/config
#
[install]
root = "%{buildroot}%{_prefix}"
EOF
###
#
cp -vi %{SOURCE22} CAUTION
#
#
tar -xzvf %{SOURCE201}
#
%build
#
#
# The "DISTRELEASE=%%{release}" needs to be on both the make and make install
# commands, since make install runs sed commands against various scripts to
# modify the "-v" output appropriately.
@ -322,10 +347,13 @@ export KERNELIMAGE_MAKEFLAGS="%%{?_smp_mflags}"
ZFCPDUMP_DIR=%{_prefix}/lib/s390-tools/zfcpdump \
DISTRELEASE=%{release} \
UDEVRUNDIR=/run/udev \
HAVE_CARGO=1 \
HAVE_DRACUT=1
gcc -static -o read_values ${OPT_FLAGS} %{SOURCE86} -lqc
%install
#
mkdir -p %{buildroot}/boot/zipl
mkdir -p %{buildroot}%{_sysconfdir}/zkey/repository
%make_install \
@ -333,6 +361,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/zkey/repository
DISTRELEASE=%{release} \
SYSTEMDSYSTEMUNITDIR=%{_unitdir} \
UDEVRUNDIR=/run/udev \
HAVE_CARGO=1 \
HAVE_DRACUT=1
# The make install command puts things in /etc/sysconfig and not the

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3785e684d4679bd14b823fe5fedd610f5414bdc5a9d57cb4ee6c96528359a5d8
size 49566072