summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json3
-rw-r--r--php-theseer-fDOMDocument.spec20
2 files changed, 11 insertions, 12 deletions
diff --git a/composer.json b/composer.json
index cd88df3..3d73a3a 100644
--- a/composer.json
+++ b/composer.json
@@ -18,6 +18,9 @@
"ext-dom": "*",
"lib-libxml": "*"
},
+ "require-dev": {
+ "php": ">=7.3"
+ },
"autoload": {
"classmap": [
"src/"
diff --git a/php-theseer-fDOMDocument.spec b/php-theseer-fDOMDocument.spec
index 0e38f5b..e9a72af 100644
--- a/php-theseer-fDOMDocument.spec
+++ b/php-theseer-fDOMDocument.spec
@@ -1,13 +1,13 @@
# remirepo/fedora spec file for php-theseer-fDOMDocument
#
-# Copyright (c) 2013-2021 Remi Collet
+# Copyright (c) 2013-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%global gh_commit 6e8203e40a32a9c770bcb62fe37e68b948da6dca
+%global gh_commit 5cddd4f9076a9a2b85c5135935bba2dcb3ed7574
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner theseer
%global gh_project fDOMDocument
@@ -16,8 +16,8 @@
%global pear_channel pear.netpirates.net
Name: php-theseer-fDOMDocument
-Version: 1.6.6
-Release: 11%{?dist}
+Version: 1.6.7
+Release: 1%{?dist}
Summary: An Extension to PHP standard DOM
License: BSD
@@ -72,14 +72,7 @@ cp -pr src %{buildroot}%{php_home}/%{gh_project}
%check
ret=0
-: for phpunit8/9
-find tests -name \*.php \
- -exec sed \
- -e 's/function setUp()/function setUp():void/' \
- -e 's/function tearDown()/function tearDown():void/' \
- -i {} \;
-
-for cmd in "php %{phpunit}" php73 php74 php80; do
+for cmd in "php %{phpunit}" php74 php80 php81; do
if which $cmd; then
set $cmd
$1 ${2:-%{_bindir}/phpunit8} \
@@ -105,6 +98,9 @@ fi
%changelog
+* Wed Jan 26 2022 Remi Collet <remi@remirepo.net> - 1.6.7-1
+- update to 1.6.7
+
* Fri Mar 26 2021 Remi Collet <remi@remirepo.net> - 1.6.6-11
- switch to phpunit8