summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-05-03 12:43:51 +0200
committerRemi Collet <remi@remirepo.net>2017-05-03 12:43:51 +0200
commit0857af9f871f6c3adafac63f0c662320c6692538 (patch)
tree272ca7f39d1d9ac845b2b2b359a10f5e744da2f8
parent3533dfee8a68375a97c8064da7b2e8e8d802475f (diff)
v2.2.9
-rw-r--r--.gitignore7
-rw-r--r--php-horde-Horde-Alarm.spec27
2 files changed, 17 insertions, 17 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-Alarm.spec b/php-horde-Horde-Alarm.spec
index 134f207..d071d0f 100644
--- a/php-horde-Horde-Alarm.spec
+++ b/php-horde-Horde-Alarm.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Alarm
-Version: 2.2.8
+Version: 2.2.9
Release: 1%{?dist}
Summary: Horde Alarm Libraries
@@ -21,7 +21,6 @@ License: LGPLv2
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: gettext
BuildRequires: php(language) >= 5.3.0
@@ -111,21 +110,13 @@ done | tee ../%{pear_name}.lang
%check
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
@@ -141,7 +132,6 @@ fi
%files -f %{pear_name}.lang
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Alarm
@@ -153,6 +143,9 @@ fi
%changelog
+* Wed May 3 2017 Remi Collet <remi@remirepo.net> - 2.2.9-1
+- Update to 2.2.9
+
* Thu Sep 01 2016 Remi Collet <remi@fedoraproject.org> - 2.2.8-1
- Update to 2.2.8