Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80dd53f018 |
3 changed files with 11 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/php-sebastian-type5-5.0.0-b850278.tgz
|
||||
/php-sebastian-type5-5.0.1-fb6a656.tgz
|
||||
/php-sebastian-type5-5.1.0-461b9c5.tgz
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@
|
|||
%bcond_with tests
|
||||
|
||||
# github
|
||||
%global gh_commit fb6a6566f9589e86661291d13eba708cce5eb4aa
|
||||
%global gh_commit 461b9c5da241511a2a0e8f240814fb23ce5c0aac
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project type
|
||||
%global gh_date 2024-07-03
|
||||
%global gh_date 2024-09-17
|
||||
# packagist
|
||||
%global pk_vendor sebastian
|
||||
%global pk_project %{gh_project}
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
%global ns_project Type
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 5.0.1
|
||||
Version: 5.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Collection of value objects that represent the types of the PHP type system, v%{major}
|
||||
|
||||
|
|
@ -43,8 +43,8 @@ BuildRequires: php-reflection
|
|||
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
|
||||
%if %{with tests}
|
||||
# from composer.json, "require-dev": {
|
||||
# "phpunit/phpunit": "^11.0"
|
||||
BuildRequires: phpunit11
|
||||
# "phpunit/phpunit": "^11.3"
|
||||
BuildRequires: phpunit11 >= 11.3
|
||||
%endif
|
||||
|
||||
# from composer.json, "require": {
|
||||
|
|
@ -98,7 +98,7 @@ ret=0
|
|||
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 || ret=1
|
||||
%{_bindir}/phpunit11 --bootstrap vendor/autoload.php --no-coverage || ret=1
|
||||
fi
|
||||
done
|
||||
exit $ret
|
||||
|
|
@ -116,6 +116,9 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Sep 18 2024 Remi Collet <remi@remirepo.net> - 5.1.0-1
|
||||
- update to 5.1.0
|
||||
|
||||
* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 5.0.1-1
|
||||
- update to 5.0.1
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-sebastian-type5-5.0.1-fb6a656.tgz) = c88a181c1a07e641c5b1743b0c5806f810b4890ef4b427a4930951ba88c21685ec3f2040988f9395521a825fe2524756734aa4ae2bc4719826cf8732c2e7e2a7
|
||||
SHA512 (php-sebastian-type5-5.1.0-461b9c5.tgz) = 96b6f90eacd88982fcdcf0cb465e1e6025ab013f9abcfb95bd593738c6f75bd4cd4c5c1e53ee7431f8d05fa6d12a57f1d5b651cafc17753cff68bfb36a5fc835
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue