summaryrefslogtreecommitdiffstats
path: root/php-sebastian-code-unit3.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-03 07:31:27 +0200
committerRemi Collet <remi@php.net>2024-07-03 07:31:27 +0200
commitf01b35028cc7628cbe94d39e634b4a33945c5043 (patch)
treeaf4af2f43adb33f4fb16e152216a4ddb068a62b7 /php-sebastian-code-unit3.spec
parent594e9aa9d7989ef30816205c053ec4b954257b59 (diff)
update to 3.0.1HEADmaster
Diffstat (limited to 'php-sebastian-code-unit3.spec')
-rw-r--r--php-sebastian-code-unit3.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/php-sebastian-code-unit3.spec b/php-sebastian-code-unit3.spec
index 3308390..368af69 100644
--- a/php-sebastian-code-unit3.spec
+++ b/php-sebastian-code-unit3.spec
@@ -11,11 +11,11 @@
%bcond_with tests
# Sources
-%global gh_commit 6634549cb8d702282a04a774e36a7477d2bd9015
+%global gh_commit 6bb7d09d6623567178cf54126afa9c2310114268
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project code-unit
-%global gh_date 2024-02-02
+%global gh_date 2024-07-03
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
@@ -26,12 +26,13 @@
%global ns_project CodeUnit
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 3.0.0
+Version: 3.0.1
Release: 1%{?dist}
Summary: Collection of value objects that represent the PHP code units, version %{major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
+# run makesrc.sh to create a git snapshot with test suite
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -103,7 +104,7 @@ EOF
: Run tests
ret=0
-for cmd in php php82 php83; do
+for cmd in php php82 php83 php84; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit11 --bootstrap vendor/autoload.php || ret=1
@@ -114,8 +115,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.md composer.json
%dir %{php_home}/%{ns_vendor}
@@ -123,6 +122,9 @@ exit $ret
%changelog
+* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 3.0.1-1
+- update to 3.0.1
+
* Mon Feb 5 2024 Remi Collet <remi@remirepo.net> - 3.0.0-1
- update to 3.0.0
- raise dependency on PHP 8.2