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