diff options
author | Remi Collet <remi@remirepo.net> | 2018-07-05 06:52:23 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-07-05 06:52:23 +0200 |
commit | 30d5300889d7b33669fe7dfc885d9a3973224ac7 (patch) | |
tree | 8fe410515f7e8ed599760dd13ed509d2deeef218 | |
parent | 3334d9ae868ea4e471f69495b7e23aa4a8586fbb (diff) |
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | php-horde-Horde-Controller.spec | 21 |
2 files changed, 20 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc9aa8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/php-horde-Horde-Controller.spec b/php-horde-Horde-Controller.spec index 620c4cc..20c9971 100644 --- a/php-horde-Horde-Controller.spec +++ b/php-horde-Horde-Controller.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-horde-Horde-Controller # -# Copyright (c) 2012-2017 Nick Bebout, Remi Collet +# Copyright (c) 2012-2018 Nick Bebout, Remi Collet # # License: MIT # https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense @@ -12,7 +12,7 @@ %global pear_channel pear.horde.org Name: php-horde-Horde-Controller -Version: 2.0.4 +Version: 2.0.5 Release: 1%{?dist} Summary: Horde Controller libraries @@ -21,7 +21,6 @@ License: BSD URL: http://pear.horde.org Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: php(language) >= 5.3.0 BuildRequires: php-pear(PEAR) >= 1.7.0 @@ -79,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 php php70 php71 php72 php73; do + if which $cmd; then + $cmd %{_bindir}/phpunit --bootstrap bootstrap.php --verbose . || ret=1 + fi +done +exit $ret %post @@ -98,7 +99,6 @@ fi %files -%defattr(-,root,root,-) %doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml %{pear_phpdir}/Horde/Controller @@ -107,6 +107,9 @@ fi %changelog +* Thu Jul 5 2018 Remi Collet <remi@remirepo.net> - 2.0.5-1 +- update to 2.0.5 + * Mon Feb 01 2016 Remi Collet <remi@fedoraproject.org> - 2.0.4-1 - Update to 2.0.4 - PHP 7 compatible version |