diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-02-11 20:07:54 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-02-11 20:07:54 +0100 |
commit | b2c3b451a9e1f31882555b94ea9cb3343f4dc566 (patch) | |
tree | 3c043502088061013cf12b147ab0891f693f6316 | |
parent | b2ce2396ce0d7309a5fbefa01812da2dd074fe4a (diff) |
-rw-r--r-- | php-horde-Horde-Timezone.spec | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/php-horde-Horde-Timezone.spec b/php-horde-Horde-Timezone.spec index e1c4256..4ca64e4 100644 --- a/php-horde-Horde-Timezone.spec +++ b/php-horde-Horde-Timezone.spec @@ -11,7 +11,7 @@ %global pear_channel pear.horde.org Name: php-horde-Horde-Timezone -Version: 1.0.11 +Version: 1.1.0 Release: 1%{?dist} Summary: Timezone library @@ -78,11 +78,13 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -%{_bindir}/phpunit . - -if which php70; then - php70 %{_bindir}/phpunit . -fi +ret=0 +for cmd in php56 php70 php71 php; do + if which $cmd; then + $cmd %{_bindir}/phpunit --verbose . || ret=1 + fi +done +exit $ret %post @@ -106,6 +108,9 @@ fi %changelog +* Sat Feb 11 2017 Remi Collet <remi@fedoraproject.org> - 1.1.0-1 +- Update to 1.1.0 + * Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 1.0.11-1 - Update to 1.0.11 - raise dependency on Horde_Date >= 2.3.0 |