enable test cases

This commit is contained in:
h00465007 2020-02-05 16:05:32 +08:00
parent 8506aa17ed
commit bd67d89b8e

View File

@ -1,6 +1,6 @@
Name: libcacard
Version: 2.7.0
Release: 2
Release: 3
Epoch: 3
Summary: Common Access Card(CAC) library
License: LGPLv2+
@ -35,6 +35,10 @@ This package provides libraries and header files for the development of libcacar
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
%make_build
%check
sed -i "s!/usr/lib64/!%{_libdir}/!" tests/setup-softhsm2.sh
make check
%install
%make_install
@ -57,6 +61,12 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
%doc NEWS ChangeLog README.md
%changelog
* Wed Feb 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: enable test cases
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-2
- Type:bugfix
- ID:NA