forked from pool/haveged
- Disable randomly failing ENT test bnc#876674
- Added patches: * haveged-conditional-enttest.patch OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=94
This commit is contained in:
committed by
Git OBS Bridge
parent
90baee8324
commit
9bded32d00
@@ -27,6 +27,8 @@ Source0: http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz
|
||||
Source2: %{name}.service
|
||||
Source3: 90-haveged.rules
|
||||
Patch0: ppc64le.patch
|
||||
# PATCH-FIX-UPSTREAM: ent tests randomly fail so make them conditional tchvatal@suse.cz bnc#876674
|
||||
Patch1: haveged-conditional-enttest.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
@@ -71,13 +73,16 @@ algorithm and supporting features.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
export CFLAGS="%{optflags} -fpie"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
||||
# ENT randomly fails so disable the test
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-enttest \
|
||||
--enable-nistest \
|
||||
--enable-daemon \
|
||||
--enable-clock_gettime
|
||||
|
Reference in New Issue
Block a user