From 553b3431dfe032c7e88718474817df28b680d744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 17 Jan 2017 13:32:01 +0100 Subject: [PATCH] check for hwrng device too --- libica.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libica.spec b/libica.spec index 494ca0d..4afc533 100644 --- a/libica.spec +++ b/libica.spec @@ -52,7 +52,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/libica.la %check # mock doesn't provide the device, so check here # https://github.com/rpm-software-management/mock/issues/33 -if [ -c /dev/prandom ]; then +if [ -c /dev/hwrng -o -c /dev/prandom ]; then pushd src/tests LD_LIBRARY_PATH=../.libs PATH=..:$PATH ./suite.run -v cat suite.out