summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-28 16:05:00 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-28 16:05:00 +0100
commitb5b064fb8b10a457bdd4950c4a3201ba99c1ab13 (patch)
treee8a52a42fc9b9f93b8a9f9cfaec8c6fa79c474e9
parent1fe6bc21633753e7527b8dcd7528a8e2f730feed (diff)
libdigidocpp: add minimal %checkHEADmaster
-rw-r--r--libdigidocpp.spec8
1 files changed, 8 insertions, 0 deletions
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