Fix tests.
This commit is contained in:
parent
8601f916c3
commit
238a6b5cb6
@ -1,7 +1,7 @@
|
||||
Summary: Tool for creating supermin appliances
|
||||
Name: supermin
|
||||
Version: 5.1.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
|
||||
%if 0%{?rhel} >= 7
|
||||
@ -22,6 +22,10 @@ BuildRequires: ocaml, ocaml-findlib-devel
|
||||
BuildRequires: /usr/bin/execstack
|
||||
%endif
|
||||
|
||||
# These are required only to run the tests. We could patch out the
|
||||
# tests to not require these packages.
|
||||
BuildRequires: augeas hivex tar
|
||||
|
||||
Requires: rpm
|
||||
Requires: yum-utils
|
||||
Requires: util-linux-ng
|
||||
@ -67,7 +71,10 @@ execstack -c $RPM_BUILD_ROOT%{_bindir}/supermin
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
make check || {
|
||||
cat tests/test-suite.log
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
%files
|
||||
@ -77,8 +84,9 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 27 2014 Richard W.M. Jones <rjones@redhat.com> - 5.1.6-1
|
||||
* Thu Mar 27 2014 Richard W.M. Jones <rjones@redhat.com> - 5.1.6-2
|
||||
- New upstream version 5.1.6.
|
||||
- Fix tests.
|
||||
|
||||
* Mon Mar 24 2014 Richard W.M. Jones <rjones@redhat.com> - 5.1.5-2
|
||||
- Disable execstack on aarch64.
|
||||
|
Loading…
Reference in New Issue
Block a user