From 30d5300889d7b33669fe7dfc885d9a3973224ac7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Jul 2018 06:52:23 +0200 Subject: v2.0.5 --- .gitignore | 8 ++++++++ php-horde-Horde-Controller.spec | 21 ++++++++++++--------- 2 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 .gitignore 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 - 2.0.5-1 +- update to 2.0.5 + * Mon Feb 01 2016 Remi Collet - 2.0.4-1 - Update to 2.0.4 - PHP 7 compatible version -- cgit