parent
f100f5c197
commit
3e21909b4c
3 changed files with 10 additions and 6 deletions
|
|
@ -7,10 +7,9 @@
|
|||
# Please, preserve the changelog entries
|
||||
#
|
||||
|
||||
# disabled until phpunit10 available
|
||||
%bcond_with tests
|
||||
%bcond_without tests
|
||||
|
||||
%global gh_commit 9f3d3709577a527025f55bcf0f7ab8052c8bb37d
|
||||
%global gh_commit 0c7b06ff49e3d5072f057eb1fa59258bf287a748
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project php-text-template
|
||||
|
|
@ -24,7 +23,7 @@
|
|||
%global ver_major 3
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
|
||||
Version: 3.0.0
|
||||
Version: 3.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple template engine, version %{ver_major}
|
||||
|
||||
|
|
@ -82,7 +81,7 @@ mkdir vendor
|
|||
|
||||
: Run upstream test suite
|
||||
ret=0
|
||||
for cmd in php php81 php82; do
|
||||
for cmd in php php81 php82 php83; do
|
||||
if which $cmd; then
|
||||
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
|
||||
%{_bindir}/phpunit10 || ret=1
|
||||
|
|
@ -101,6 +100,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 1 2023 Remi Collet <remi@remirepo.net> - 3.0.1-1
|
||||
- update to 3.0.1
|
||||
- Enable test suite
|
||||
|
||||
* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 3.0.0-1
|
||||
- update to 3.0.0
|
||||
- raise dependency on PHP 8.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue