!27 enable check
From: @tong_1001 Reviewed-by: @lvying6 Signed-off-by: @lvying6
This commit is contained in:
commit
cec73b80a8
12
mcelog.spec
12
mcelog.spec
@ -1,10 +1,11 @@
|
||||
#needsrootforbuild
|
||||
%define last_tar_version 179
|
||||
%define mce_inject_ver 2013.01.19
|
||||
%define aer_inject_ver 2010.03.10
|
||||
|
||||
Name: mcelog
|
||||
Version: 179
|
||||
Release: 2
|
||||
Release: 3
|
||||
Epoch: 3
|
||||
Summary: Linux kernel machine check handling middleware
|
||||
License: GPLv2
|
||||
@ -14,7 +15,7 @@ Source1: mce-inject-%{mce_inject_ver}.tar.bz2
|
||||
Source2: aer-inject-%{aer_inject_ver}.tar.bz2
|
||||
Source3: mcelog.conf
|
||||
ExclusiveArch: i686 x86_64
|
||||
BuildRequires: bison flex systemd gcc
|
||||
BuildRequires: bison flex systemd gcc psmisc
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
@ -50,6 +51,10 @@ install -p -m644 mcelog.service $RPM_BUILD_ROOT%{_unitdir}/mcelog.service
|
||||
destdir=$RPM_BUILD_ROOT make -C mce-inject-%{mce_inject_ver} install
|
||||
install -p -m755 aer-inject-%{aer_inject_ver}/aer-inject $RPM_BUILD_ROOT/%{_sbindir}/aer-inject
|
||||
|
||||
%check
|
||||
export PATH="$PATH:$RPM_BUILD_ROOT%{_sbindir}"
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -75,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%attr(0644,root,root) %{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 22 2022 shixuantong <shixuantong1@huawei.com> - 3:179-3
|
||||
- enable check
|
||||
|
||||
* Sat Oct 29 2022 dongyuzhen <dongyuzhen@h-partners.com> - 179-2
|
||||
- Rebuild for next release
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user