summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-06-03 07:28:56 +0200
committerRemi Collet <remi@php.net>2024-06-03 07:28:56 +0200
commiteb071529cff1b43744e4dde5a1dafefed46e60c0 (patch)
tree8238947fdfbfc331ae374f06c54e8f530bb6bc1c
parent2dc981af6ac244fd6575814666bed72c0b4c464d (diff)
update Structures_Graph to 1.2.0 (no change)
-rw-r--r--php-pear.spec16
1 files changed, 10 insertions, 6 deletions
diff --git a/php-pear.spec b/php-pear.spec
index 96304e6..4e624f0 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -23,7 +23,7 @@
%global arctarver 1.5.0
# https://pear.php.net/bugs/bug.php?id=19367
# Structures_Graph 1.0.4 - incorrect FSF address
-%global structver 1.1.1
+%global structver 1.2.0
%global xmlutil 1.4.5
%global manpages 1.10.0
@@ -40,7 +40,7 @@
Summary: PHP Extension and Application Repository framework
Name: %{?scl_prefix}php-pear
Version: 1.10.15
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 1
# BSD-2-Clause: PEAR, PEAR_Manpages, Archive_Tar, Console_Getopt
# BSD-3-Clause: XML_Util
@@ -70,7 +70,7 @@ BuildRequires: %{_root_bindir}/gpg
# For pecl_xmldir macro
BuildRequires: %{?scl_prefix}php-devel
%if %{with tests}
-BuildRequires: %{_bindir}/phpunit
+BuildRequires: %{_bindir}/phpunit7
%endif
%if 0%{?!scl:1}
BuildRequires: php-fedora-autoloader-devel
@@ -321,11 +321,12 @@ LOG=$PWD/rpmlog
ret=0
cd %{buildroot}%{_datadir}/tests/pear/Structures_Graph/tests
-phpunit \
- AllTests || ret=1
+phpunit7 \
+ --include-path=%{buildroot}%{_datadir}/pear \
+ . || ret=1
cd %{buildroot}%{_datadir}/tests/pear/XML_Util/tests
-phpunit \
+phpunit7 \
--bootstrap=/usr/share/pear/XML/Util/autoload.php \
--test-suffix .php . || ret=1
@@ -465,6 +466,9 @@ fi
%changelog
+* Tue Mar 19 2024 Remi Collet <remi@remirepo.net> - 1.10.15-3
+- update Structures_Graph to 1.2.0 (no change)
+
* Tue Mar 19 2024 Remi Collet <remi@remirepo.net> - 1.10.15-2
- update Archive_Tar to 1.5.0