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

- Amended the .spec file for x86_64 (jsc#PED-7135, jsc#IBM-1309)

OBS-URL: https://build.opensuse.org/request/show/1157136
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=197
This commit is contained in:
Nikolay Gueorguiev 2024-03-12 09:22:28 +00:00 committed by Git OBS Bridge
parent 0d94837b97
commit 54cec27eb2
2 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 12 08:46:19 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Amended the .spec file for x86_64 (jsc#PED-7135, jsc#IBM-1309)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 21 17:02:55 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com> Wed Feb 21 17:02:55 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>

View File

@ -35,7 +35,7 @@
Name: s390-tools Name: s390-tools
Version: 2.31.0 Version: 2.31.0
Release: 0 Release: 0
Summary: S/390 tools like zipl and dasdfmt Summary: S/390 tools like zipl and dasdfmt for s390x (plus selected tools for x86_64)
License: MIT License: MIT
Group: System/Kernel Group: System/Kernel
URL: https://github.com/ibm-s390-tools/s390-tools URL: https://github.com/ibm-s390-tools/s390-tools
@ -205,13 +205,17 @@ Provides: group(zkeyadm)
ExclusiveArch: s390x x86_64 ExclusiveArch: s390x x86_64
%description %description
This package contains the tools needed to use Linux on IBM z Systems This package contains the tools (s390x, x86_64) needed to use Linux on IBM z Systems
and exploit many of the various capabilities of the hardware or z/VM. and exploit many of the various capabilities of the hardware or z/VM.
For example: For example:
- s390x
dasdfmt - low-level format tool for ECKD DASD dasdfmt - low-level format tool for ECKD DASD
fdasd - partitions ECKD DASDs with z/OS compatible disk layout fdasd - partitions ECKD DASDs with z/OS compatible disk layout
zipl - boot loader and dump DASD initializer zipl - boot loader and dump DASD initializer
zgetdump - tool to get linux system dumps from DASD zgetdump - tool to get linux system dumps from DASD
- x86_64
genprotimg - create a protected virtualization image
pvattest - create, perform, and verify protected virtualization attestation measurements
%package -n osasnmpd %package -n osasnmpd
Summary: OSA-Express SNMP subagent Summary: OSA-Express SNMP subagent
@ -342,7 +346,7 @@ tar -xzf %{SOURCE201}
export OPT_FLAGS="%{optflags}" export OPT_FLAGS="%{optflags}"
export KERNELIMAGE_MAKEFLAGS="%%{?_smp_mflags}" export KERNELIMAGE_MAKEFLAGS="%%{?_smp_mflags}"
%make_build -v \ %make_build \
ZFCPDUMP_DIR=%{_prefix}/lib/s390-tools/zfcpdump \ ZFCPDUMP_DIR=%{_prefix}/lib/s390-tools/zfcpdump \
DISTRELEASE=%{release} \ DISTRELEASE=%{release} \
UDEVRUNDIR=/run/udev \ UDEVRUNDIR=/run/udev \
@ -351,7 +355,7 @@ export KERNELIMAGE_MAKEFLAGS="%%{?_smp_mflags}"
CC=gcc-13 \ CC=gcc-13 \
CXX=g++-13 CXX=g++-13
### all ### all
gcc-13 -v -static -o read_values ${OPT_FLAGS} %{SOURCE86} -lqc gcc-13 -static -o read_values ${OPT_FLAGS} %{SOURCE86} -lqc
%install %install
mkdir -p %{buildroot}/boot/zipl mkdir -p %{buildroot}/boot/zipl
@ -784,14 +788,11 @@ export KERNELIMAGE_MAKEFLAGS="%%{?_smp_mflags}"
%files %files
%{_prefix}/bin/* %{_prefix}/bin/*
%{_prefix}/share/s390-tools/* %dir %{_datadir}/s390-tools
%dir /usr/share/s390-tools %dir %{_datadir}/s390-tools/genprotimg
%{_datadir}/s390-tools/genprotimg/check_hostkeydoc
%{_mandir}/man1/* %{_mandir}/man1/*
%files debuginfo
%dir %{_prefix}/lib/debug
%dir %{_prefix}/lib/debug/usr/bin
%endif %endif
%changelog %changelog