From b5b064fb8b10a457bdd4950c4a3201ba99c1ab13 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Dec 2011 16:05:00 +0100 Subject: libdigidocpp: add minimal %check --- libdigidocpp.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libdigidocpp.spec b/libdigidocpp.spec index d05934d..1a33429 100644 --- a/libdigidocpp.spec +++ b/libdigidocpp.spec @@ -139,6 +139,14 @@ make %{?_smp_mflags} -C %{_target_platform} make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} +%check +# Minimal load test for the PHP extension +php -n \ + -d extension_dir=%{_target_platform}/src/php \ + -d extension=digidoc.so -m \ + | grep digidoc + + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -- cgit