summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-21 18:21:15 +0200
committerRemi Collet <remi@remirepo.net>2017-06-21 18:21:15 +0200
commit3b675a118397f836254bb20e022c3f727f49e377 (patch)
treedc4a832bad376305136315cfdab31441126990a4
parent21952b54f60246183741913fa7d0b7ab83af51e3 (diff)
v2.5.0
-rw-r--r--.gitignore7
-rw-r--r--php-horde-Horde-Image.spec25
2 files changed, 16 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/php-horde-Horde-Image.spec b/php-horde-Horde-Image.spec
index 3163ec0..5434706 100644
--- a/php-horde-Horde-Image.spec
+++ b/php-horde-Horde-Image.spec
@@ -13,7 +13,7 @@
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-horde-Horde-Image
-Version: 2.4.1
+Version: 2.5.0
Release: 1%{?dist}
Summary: Horde Image API
@@ -120,22 +120,12 @@ done | tee ../%{pear_name}.lang
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-
-# remirepo:11
-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:2
-fi
+for cmd in php php56 php70 php71 php72; do
+ if which $cmd; then
+ $cmd %{_bindir}/phpunit --verbose . || ret=1
+ fi
+done
exit $ret
%else
: Test disabled, bootstrap build
@@ -164,6 +154,9 @@ fi
%changelog
+* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 2.5.0-1
+- Update to 2.5.0
+
* Tue Apr 11 2017 Remi Collet <remi@remirepo.net> - 2.4.1-1
- Update to 2.4.1