public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-mock-phpunit2] f44: v2.16.0
@ 2026-10-02 10:06 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-10-02 10:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php-mock-phpunit2
Branch : f44
Commit : e36043dbc9df29ba6f1494624f637170e83521bd
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-10-02T12:06:51+02:00
Stats : +19/-15 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-mock-phpunit2/c/e36043dbc9df29ba6f1494624f637170e83521bd?branch=f44
Log:
v2.16.0
(cherry picked from commit 483359c4d83131a57fbea2f5fe755a9667341161)
---
diff --git a/.gitignore b/.gitignore
index 41311e8..fa28208 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ clog
/php-mock-phpunit2-2.13.1-29f90fe.tar.gz
/php-mock-phpunit2-2.14.0-c074f7a.tar.gz
/php-mock-phpunit2-2.15.0-701df15.tar.gz
+/php-mock-phpunit-2.16.0.tar.gz
diff --git a/php-mock-phpunit2.spec b/php-mock-phpunit2.spec
index eaaed8f..d63bb21 100644
--- a/php-mock-phpunit2.spec
+++ b/php-mock-phpunit2.spec
@@ -6,22 +6,22 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 701df15b183f25af663af134eb71353cd838b955
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_date 2026-02-06
%global gh_owner php-mock
%global gh_project php-mock-phpunit
+%global forgeurl https://github.com/%{gh_owner}/%{gh_project}
+%global tag %{version}
%global with_tests 0%{!?_without_tests:1}
%global major 2
Name: php-mock-phpunit%{major}
-Version: 2.15.0
-Release: 1%{?dist}
Summary: Mock built-in PHP functions with PHPUnit.
+Version: 2.16.0
+Release: 1%{?dist}
License: WTFPL
-URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
BuildArch: noarch
BuildRequires: php(language) >= 7
@@ -69,7 +69,7 @@ No further extension is needed.
%prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%forgesetup
: Create autoloader
cat << 'AUTOLOAD' | tee rpm.php
@@ -112,7 +112,7 @@ ret=0
if [ -x %{_bindir}/phpunit8 ]; then
: Run upstream test suite with phpunit8
-for cmd in php php82 php82 php84 php85; do
+for cmd in php php82 php82 php84 php85 php86; do
if which $cmd; then
$cmd %{_bindir}/phpunit8 --verbose || ret=1
fi
@@ -121,7 +121,7 @@ fi
if [ -x %{_bindir}/phpunit9 ]; then
: Run upstream test suite with phpunit9
-for cmd in php php82 php83 php84 php85; do
+for cmd in php php82 php83 php84 php85 php86; do
if which $cmd; then
$cmd %{_bindir}/phpunit9 --verbose || ret=1
fi
@@ -130,7 +130,7 @@ fi
if [ -x %{_bindir}/phpunit10 ]; then
: Run upstream test suite with phpunit10
-for cmd in php php82 php83 php84 php85; do
+for cmd in php php82 php83 php84 php85 php86; do
if which $cmd; then
$cmd %{_bindir}/phpunit10 \
--filter '^((?!(testPreserveArgumentDefaultValue)).)*$' \
@@ -141,7 +141,7 @@ fi
if [ -x %{_bindir}/phpunit11 ]; then
: Run upstream test suite with phpunit11
-for cmd in php php82 php83 php84 php85; do
+for cmd in php php82 php83 php84 php85 php86; do
if which $cmd; then
$cmd %{_bindir}/phpunit11 \
--filter '^((?!(testPreserveArgumentDefaultValue)).)*$' \
@@ -152,7 +152,7 @@ fi
if [ -x %{_bindir}/phpunit12 ]; then
: Run upstream test suite with phpunit12
-for cmd in php php83 php84 php85; do
+for cmd in php php83 php84 php85 php86; do
if which $cmd; then
$cmd %{_bindir}/phpunit12 \
--filter '^((?!(testPreserveArgumentDefaultValue)).)*$' \
@@ -163,7 +163,7 @@ fi
if [ -x %{_bindir}/phpunit13 ]; then
: Run upstream test suite with phpunit13
-for cmd in php php84 php85; do
+for cmd in php php84 php85 php86; do
if which $cmd; then
$cmd %{_bindir}/phpunit13 \
--filter '^((?!(testPreserveArgumentDefaultValue|testExpects)).)*$' \
@@ -185,6 +185,9 @@ exit $ret
%changelog
+* Fri Oct 2 2026 Remi Collet <remi@remirepo.net> - 2.16.0-1
+- update to 2.16.0
+
* Fri Feb 6 2026 Remi Collet <remi@remirepo.net> - 2.15.0-1
- update to 2.15.0
- allow phpunit13
diff --git a/sources b/sources
index c458a31..705937c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-mock-phpunit2-2.15.0-701df15.tar.gz) = 68e79188c0785fdd4e9168eeb4ab392180925782e5b5c427350704e2ff0c2a4f96382dcb06165400d643b4eabf8dbe388ff290c7f470eb9d779b2bed791b1d1a
+SHA512 (php-mock-phpunit-2.16.0.tar.gz) = 669f28d25097936d84ba700620ae820b9d897bda4ebe05d6c606f05f208faa721a763204bc6fbd3eb8628aa0e9097bf7d6d32ed19ca8ce5484f5d24cfcd64b94
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-02 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 10:06 [rpms/php-mock-phpunit2] f44: v2.16.0 Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox