Blame SPECS/crash-gcore-command.spec

4ea93c
%global reponame crash-gcore
4ea93c
4ea93c
Summary: Gcore extension module for the crash utility
4ea93c
Name: crash-gcore-command
4ea93c
Version: 1.6.3
4ea93c
Release: 1%{?dist}
4ea93c
License: GPLv2
4ea93c
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
4ea93c
URL: https://github.com/fujitsu/crash-gcore
4ea93c
ExclusiveOS: Linux
4ea93c
ExclusiveArch: aarch64 ppc64le x86_64
4ea93c
BuildRequires: crash-devel >= 5.1.5
4ea93c
BuildRequires: gcc
4ea93c
Requires: crash >= 5.1.5
4ea93c
4ea93c
%description
4ea93c
Command for creating a core dump file of a user-space task that was
4ea93c
running in a kernel dump file.
4ea93c
4ea93c
%prep
4ea93c
%autosetup -n %{reponame}-%{version}
4ea93c
4ea93c
%build
4ea93c
%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
4ea93c
4ea93c
%install
4ea93c
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
4ea93c
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/src/gcore.so
4ea93c
4ea93c
%files
4ea93c
%dir %{_libdir}/crash
4ea93c
%dir %{_libdir}/crash/extensions
4ea93c
%{_libdir}/crash/extensions/gcore.so
4ea93c
%license COPYING
4ea93c
4ea93c
%changelog
4ea93c
* Mon Dec 27 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-1
4ea93c
- Rebase to upstream 1.6.3
4ea93c
4ea93c
* Wed Dec 15 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-5
4ea93c
- Rebuild for the compatibility issue
4ea93c
4ea93c
* Tue Dec 07 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-4
4ea93c
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
4ea93c
4ea93c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-3
4ea93c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
4ea93c
  Related: rhbz#1991688
4ea93c
4ea93c
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-2
4ea93c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
4ea93c
4ea93c
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 1.6.2-1
4ea93c
- Initial crash-gcore-command package