diff --git a/.gitignore b/.gitignore index 882d654..d48a378 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /php-sebastian-diff5-5.0.3-912dc2f.tgz /php-symfony-process-5.4.22.tar.gz +/php-sebastian-diff5-5.1.0-fbf413a.tgz diff --git a/php-sebastian-diff5.spec b/php-sebastian-diff5.spec index 6daca90..cebc4f1 100644 --- a/php-sebastian-diff5.spec +++ b/php-sebastian-diff5.spec @@ -7,10 +7,9 @@ # Please, preserve the changelog entries # -# disabled until phpunit10 available -%bcond_with tests +%bcond_without tests -%global gh_commit 912dc2fbe3e3c1e7873313cc801b100b6c68c87b +%global gh_commit fbf413a49e54f6b9b17e12d900ac7f6101591b7f %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project diff @@ -25,7 +24,7 @@ %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.0.3 +Version: 5.1.0 Release: 1%{?dist} Summary: Diff implementation, version %{major} @@ -91,7 +90,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}%{major}/autoload.php \ %{_bindir}/phpunit10 || ret=1 @@ -112,6 +111,10 @@ exit $ret %changelog +* Fri Dec 22 2023 Remi Collet - 5.1.0-1 +- update to 5.1.0 +- Enable test suite + * Tue May 2 2023 Remi Collet - 5.0.3-1 - update to 5.0.3 diff --git a/sources b/sources index 6cd7928..6575bea 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (php-sebastian-diff5-5.0.3-912dc2f.tgz) = 5c7979b788457a0b6335db0dd271788867f22006b2342cb3ab363bac56921d2b7e37568208a47efed6ad21c6e8bab6b245bc02b7ee8b25ae4815de84808f42ed +SHA512 (php-sebastian-diff5-5.1.0-fbf413a.tgz) = b1e5a6b173ff77f4d8f696394ee1d792b654846fd510c8df9ca7f4cdeab26df22b430ce4bcb749ac6af2680120d0b79a0e01c9cd9608b24af45c46e9ad7cd42a SHA512 (php-symfony-process-5.4.22.tar.gz) = 723e2f144acd2845734b2b5308b55768b4644eafb01668c03c16e10ddf8857430d8b8863d79d4a1ae98461ad08ee4b05561aa12e5984265c58869b97e8232039