summaryrefslogtreecommitdiffstats
path: root/php-doctrine-event-manager.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-doctrine-event-manager.spec')
-rw-r--r--php-doctrine-event-manager.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-doctrine-event-manager.spec b/php-doctrine-event-manager.spec
index 6186cb5..adfbb31 100644
--- a/php-doctrine-event-manager.spec
+++ b/php-doctrine-event-manager.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-doctrine-event-manager
#
-# Copyright (c) 2018-2020 Remi Collet
+# Copyright (c) 2018-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -8,7 +8,7 @@
#
%global bootstrap 0
-%global gh_commit 41370af6a30faa9dc0368c4a6814d596e81aba7f
+%global gh_commit eb2ecf80e3093e8f3c2769ac838e27d8ede8e683
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner doctrine
%global gh_project event-manager
@@ -26,7 +26,7 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}
-Version: 1.1.1
+Version: 1.1.2
Release: 1%{?dist}
Summary: Simple PHP event system
@@ -39,7 +39,7 @@ BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
BuildRequires: php(language) >= 7.1
-BuildRequires: phpunit7
+BuildRequires: phpunit9
%endif
# From composer.json
@@ -93,9 +93,9 @@ EOF
: Run test suite
ret=0
-for cmd in php php71 php72 php73 php74 php80; do
+for cmd in php php74 php80 php81 php82; do
if which $cmd; then
- $cmd %{_bindir}/phpunit7 \
+ $cmd %{_bindir}/phpunit9 \
--bootstrap vendor/autoload.php \
--verbose || ret=1
fi
@@ -107,6 +107,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -116,6 +117,10 @@ exit $ret
%changelog
+* Thu Jul 28 2022 Remi Collet <remi@remirepo.net> - 1.1.2-1
+- update to 1.1.2
+- switch to phpunit9
+
* Tue Aug 11 2020 Remi Collet <remi@remirepo.net> - 1.1.1-1
- update to 1.1.1 (no change)