- check for /dev/prandom before running the test-suite
This commit is contained in:
parent
5098c803da
commit
2d708aec77
17
libica.spec
17
libica.spec
@ -1,7 +1,7 @@
|
||||
Summary: Library for accessing ICA hardware crypto on IBM zSeries
|
||||
Name: libica
|
||||
Version: 3.0.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: CPL
|
||||
Group: System Environment/Libraries
|
||||
URL: http://sourceforge.net/projects/opencryptoki/
|
||||
@ -50,10 +50,14 @@ rm $RPM_BUILD_ROOT%{_libdir}/libica.la
|
||||
|
||||
|
||||
%check
|
||||
pushd src/tests
|
||||
LD_LIBRARY_PATH=../.libs PATH=..:$PATH ./suite.run -v
|
||||
cat suite.out
|
||||
popd
|
||||
# mock doesn't provide the device, so check here
|
||||
# https://github.com/rpm-software-management/mock/issues/33
|
||||
if [ -c /dev/prandom ]; then
|
||||
pushd src/tests
|
||||
LD_LIBRARY_PATH=../.libs PATH=..:$PATH ./suite.run -v
|
||||
cat suite.out
|
||||
popd
|
||||
fi
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@ -75,6 +79,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 13 2017 Dan Horák <dan[at]danny.cz> - 3.0.1-2
|
||||
- check for /dev/prandom before running the test-suite
|
||||
|
||||
* Fri Jan 13 2017 Dan Horák <dan[at]danny.cz> - 3.0.1-1
|
||||
- updated to 3.0.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user