summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Crypt-Blowfish.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-02 18:19:23 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-02 18:19:23 +0200
commitc0a25e3c9b95016fc8c12af8e33acab92fcef079 (patch)
treeba37638f6f05363382d401c975b28d80744be934 /php-horde-Horde-Crypt-Blowfish.spec
parentd8569f502ca85ac41ee8ce44178c01878d15bc3b (diff)
php-horde-Horde-Crypt-Blowfish: 1.1.2
Diffstat (limited to 'php-horde-Horde-Crypt-Blowfish.spec')
-rw-r--r--php-horde-Horde-Crypt-Blowfish.spec24
1 files changed, 19 insertions, 5 deletions
diff --git a/php-horde-Horde-Crypt-Blowfish.spec b/php-horde-Horde-Crypt-Blowfish.spec
index 72cfc05..2f77716 100644
--- a/php-horde-Horde-Crypt-Blowfish.spec
+++ b/php-horde-Horde-Crypt-Blowfish.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Crypt-Blowfish
-Version: 1.1.1
+Version: 1.1.2
Release: 1%{?dist}
Summary: Blowfish Encryption Library
@@ -76,14 +76,25 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
+# remirepo:14
%if 0%{?rhel} == 5
phpunit . || exit 0
%else
-%{_bindir}/phpunit .
-
-if which php70; then
- php70 %{_bindir}/phpunit .
+run=0
+ret=0
+if which php56; then
+ php56 %{_bindir}/phpunit . || ret=1
+ run=1
+fi
+if which php71; then
+ php71 %{_bindir}/phpunit . || ret=1
+ run=1
fi
+if [ $run -eq 0 ]; then
+%{_bindir}/phpunit --verbose .
+# remirepo:3
+fi
+exit $ret
%endif
@@ -110,6 +121,9 @@ fi
%changelog
+* Fri Sep 02 2016 Remi Collet <remi@fedoraproject.org> - 1.1.2-1
+- Update to 1.1.2
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
- Update to 1.1.1
- PHP 7 compatible version