Группа :: Разработка/Ядро
Пакет: kdumpid
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: kdumpid
Version: 1.5
Release: alt1
Summary: Identify any kernel core dump file
License: GPL-2.0-or-later
Group: Development/Kernel
Url: https://kdumpid.sourceforge.io/
Vcs: https://github.com/ptesarik/kdumpid
Source: %name-%version.tar
BuildRequires: binutils-devel
BuildRequires: libkdumpfile-devel
BuildRequires: zlib-devel
%{?!_without_check:%{?!_disable_check:
BuildRequires: rpm-build-vm
}}
%description
The kdumpid utility can be used to find out the exact kernel architecture and
version of an unknown kernel core dump.
This utility should provide a fast and reliable method to find out the most
important information about an unknown kernel crash dump, such as the
architecture and kernel release. Think of it as a kind of "file" utility for
kernel dumps.
%prep
%setup
%build
%add_optflags %(getconf LFS_CFLAGS)
%make_build CUSTOM_CFLAGS="%optflags"
%install
%makeinstall_std BINDIR=%_bindir MANDIR=%_mandir
%ifarch %ix86 x86_64 ppc64le aarch64
# armh does not have /proc/kcore
%check
vm-run --kvm=cond ./kdumpid -v /proc/kcore
%endif
%files
%doc README.markdown
%_bindir/kdumpid
%_man1dir/*.1*
%changelog
…
Полный changelog можно просмотреть здесь
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: kdumpid
Version: 1.5
Release: alt1
Summary: Identify any kernel core dump file
License: GPL-2.0-or-later
Group: Development/Kernel
Url: https://kdumpid.sourceforge.io/
Vcs: https://github.com/ptesarik/kdumpid
Source: %name-%version.tar
BuildRequires: binutils-devel
BuildRequires: libkdumpfile-devel
BuildRequires: zlib-devel
%{?!_without_check:%{?!_disable_check:
BuildRequires: rpm-build-vm
}}
%description
The kdumpid utility can be used to find out the exact kernel architecture and
version of an unknown kernel core dump.
This utility should provide a fast and reliable method to find out the most
important information about an unknown kernel crash dump, such as the
architecture and kernel release. Think of it as a kind of "file" utility for
kernel dumps.
%prep
%setup
%build
%add_optflags %(getconf LFS_CFLAGS)
%make_build CUSTOM_CFLAGS="%optflags"
%install
%makeinstall_std BINDIR=%_bindir MANDIR=%_mandir
%ifarch %ix86 x86_64 ppc64le aarch64
# armh does not have /proc/kcore
%check
vm-run --kvm=cond ./kdumpid -v /proc/kcore
%endif
%files
%doc README.markdown
%_bindir/kdumpid
%_man1dir/*.1*
%changelog
…
Полный changelog можно просмотреть здесь