summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-28 16:47:08 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-28 16:47:08 +0100
commit567b35fe68dba065c3a58126c3e55aec585fbd9a (patch)
tree0224ddfd8db5b3d1e5154e01288fb503cf0fd7de
parent827ffaf78bca7c084d30ce0a68b75ad5fbd4438c (diff)
libpuzzle with php 5.4HEADmaster
-rw-r--r--libpuzzle.spec13
1 files changed, 13 insertions, 0 deletions
diff --git a/libpuzzle.spec b/libpuzzle.spec
index 72e9c6b..d966b07 100644
--- a/libpuzzle.spec
+++ b/libpuzzle.spec
@@ -91,6 +91,15 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%postun -p /sbin/ldconfig
+%check
+# No test provided by upstream, so
+# minimal load test for the PHP extension
+LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
+ -d extension_dir=%{buildroot}%{php_extdir} \
+ -d extension=libpuzzle.so -m \
+ | grep libpuzzle
+
+
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README THANKS
@@ -111,6 +120,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_mandir}/man3/*
%changelog
+* Wed Dec 28 2011 Remi Collet <remi@fedoraproject.org> - 0.11-9
+- build with php 5.4
+- add minimal load test for PHP extension
+
* Fri Jul 15 2011 Andrew Colin Kissa <andrew@topdog.za.net> - 0.11-9
- Fix bugzilla #716003