1 Star 0 Fork 16

haomi123/crash-gcore-command

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
crash-gcore-command.spec 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
haomi123 提交于 2023-08-18 11:13 . add loongarch64 support
%global reponame crash-gcore
Name: crash-gcore-command
Version: 1.6.4
Release: 3
Summary: Command of Gcore for Crash utility
License: GPLv2
URL: https://github.com/fujitsu/crash-gcore
Source: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-root
BuildRequires: zlib-devel lzo-devel snappy-devel crash-devel >= 5.1.5 gcc make
Requires: crash >= 5.1.5
Patch0: crash-gcore-1.6.4-coredump-fix-building-failure-due-to-undefined-macro.patch
Patch1: 0001-add-stdbool.h-to-fix-build-error.patch
%ifarch riscv64
Patch2: 0002-add-riscv64-support.patch
%endif
%ifarch loongarch64
Patch3: add-loongarch-support.sh
%endif
%description
The crash-gcore-command packages contain an extension module for the crash utility
that adds a "gcore" command which can create a core dump file of a user-space task
that was running in a kernel dumpfile.
%prep
%autosetup -n %{reponame}-%{version} -p1
%build
%make_build -C src -f gcore.mk
%install
install -D %{_builddir}/%{reponame}-%{version}/src/gcore.so %{buildroot}%{_libdir}/crash/extensions/gcore.so
%files
%defattr(-,root,root)
%doc COPYING
%{_libdir}/crash/extensions/gcore.so
%changelog
* Fri Jan 06 2023 haomimi <haomimi@uniontech.com> - 1.6.4-3
- add loongarch64 support
* Wed Jul 12 2023 EastDong <xudong23@iscas.ac.cn> - 1.6.4-2
- add riscv64 support
* Wed Jun 21 2023 chenchen <chen_aka_jan@163.com> - 1.6.4-1
- Upgrade to version 1.6.4
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.6.3-1
- Upgrade to version 1.6.3
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 1.3.1-2
- Add gcc in BuildRequires
* Thu Nov 28 2019 daiqianwen <daiqianwen@huawei.com> - 1.3.1-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/haomi0602/crash-gcore-command.git
git@gitee.com:haomi0602/crash-gcore-command.git
haomi0602
crash-gcore-command
crash-gcore-command
master

搜索帮助