summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Date-Parser.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Date-Parser.spec')
-rw-r--r--php-horde-Horde-Date-Parser.spec16
1 files changed, 7 insertions, 9 deletions
diff --git a/php-horde-Horde-Date-Parser.spec b/php-horde-Horde-Date-Parser.spec
index 1749261..b4d1936 100644
--- a/php-horde-Horde-Date-Parser.spec
+++ b/php-horde-Horde-Date-Parser.spec
@@ -11,17 +11,14 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Date-Parser
-Version: 2.0.6
-Release: 9%{?dist}
+Version: 2.0.7
+Release: 1%{?dist}
Summary: Horde Date Parser
License: LGPLv2
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
-Patch0: https://github.com/horde/Date_Parser/commit/b452b5aa962b21316492c762639b6b4b659c8c6e.patch
-Patch1: https://patch-diff.githubusercontent.com/raw/horde/Date_Parser/pull/1.patch
-
BuildArch: noarch
BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
@@ -71,9 +68,6 @@ languages and locales
%prep
%setup -q -c
cd %{pear_name}-%{version}
-%patch0 -p1 -b .upstream
-%patch1 -p1 -b .pr1
-
sed -e '/Parser/s/md5sum=.*name=/name=/' \
../package.xml >%{name}.xml
touch -r ../package.xml %{name}.xml
@@ -102,7 +96,7 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
ret=0
for cmd in php php56 php70 php71 php72 php73 php74; do
if which $cmd; then
- $cmd %{_bindir}/phpunit . || ret=1
+ $cmd %{_bindir}/phpunit --bootstrap=bootstrap.php . || ret=1
fi
done
exit $ret
@@ -128,6 +122,10 @@ fi
%changelog
+* Mon Nov 25 2019 Remi Collet <remi@remirepo.net> - 2.0.7-1
+- update to 2.0.7
+- drop patch merged upstream
+
* Thu Oct 17 2019 Remi Collet <remi@remirepo.net> - 2.0.6-9
- add patch for PHP 7.4 from
https://github.com/horde/Date_Parser/pull/1