summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Xml-Wbxml.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Xml-Wbxml.spec')
-rw-r--r--php-horde-Horde-Xml-Wbxml.spec18
1 files changed, 8 insertions, 10 deletions
diff --git a/php-horde-Horde-Xml-Wbxml.spec b/php-horde-Horde-Xml-Wbxml.spec
index 7052fff..7766f71 100644
--- a/php-horde-Horde-Xml-Wbxml.spec
+++ b/php-horde-Horde-Xml-Wbxml.spec
@@ -12,16 +12,14 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Xml-Wbxml
-Version: 2.0.3
-Release: 8%{?dist}
+Version: 2.0.4
+Release: 1%{?dist}
Summary: Provides an API for encoding and decoding WBXML documents
License: LGPLv2
URL: http://%{pear_channel}
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
-Patch0: %{pear_name}-php74.patch
-
BuildArch: noarch
BuildRequires: php-common >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
@@ -66,11 +64,7 @@ with wireless devices.
%setup -q -c
cd %{pear_name}-%{version}
-%patch0 -p1
-
-sed -e '/.php/s/md5sum=.*name=/name=/' \
- ../package.xml >%{name}.xml
-touch -r ../package.xml %{name}.xml
+mv ../package.xml %{name}.xml
%build
@@ -101,7 +95,7 @@ sed -e '/assertEquals/s/^/if ($xml_ref) /' \
ret=0
for cmd in php php71 php72 php73 php74; do
if which $cmd; then
- $cmd %{_bindir}/phpunit --verbose . || ret=1
+ $cmd %{_bindir}/phpunit --bootstrap=bootstrap.php --verbose . || ret=1
fi
done
exit $ret
@@ -128,6 +122,10 @@ fi
%changelog
+* Mon Nov 18 2019 Remi Collet <remi@remirepo.net> - 2.0.4-1
+- update to 2.0.4
+- drop patch merged upstream
+
* Fri Nov 15 2019 Remi Collet <remi@fedoraproject.org> - 2.0.3-8
- add patch for PHP 7.4
from https://github.com/horde/Xml_Wbxml/pull/1