diff options
| author | Remi Collet <remi@remirepo.net> | 2026-04-20 07:53:24 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-04-20 07:53:24 +0200 |
| commit | 97f93da132c92a1a9e6b0f4d71dd82ae010ece30 (patch) | |
| tree | 2a87e45739ac7503627975c2abab0f8cd23b2136 /php-tecnickcom-tc-lib-unicode.spec | |
| parent | 782da71797759943572a73eed308c6712d8f749b (diff) | |
update to 2.0.49 (no change)
Diffstat (limited to 'php-tecnickcom-tc-lib-unicode.spec')
| -rw-r--r-- | php-tecnickcom-tc-lib-unicode.spec | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/php-tecnickcom-tc-lib-unicode.spec b/php-tecnickcom-tc-lib-unicode.spec index ed05f30..f2441f9 100644 --- a/php-tecnickcom-tc-lib-unicode.spec +++ b/php-tecnickcom-tc-lib-unicode.spec @@ -6,18 +6,20 @@ # # Please, preserve the changelog entries # + +%bcond_without tests + %global c_vendor tecnickcom %global gh_owner tecnickcom %global gh_project tc-lib-unicode %global php_project %{_datadir}/php/Com/Tecnick/Unicode -%global with_tests 0%{!?_without_tests:1} %global forgeurl https://github.com/%{gh_owner}/%{gh_project} %global tag %{version} Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing Unicode methods License: LGPL-3.0-or-later -Version: 2.0.47 +Version: 2.0.49 Release: 1%{?dist} %forgemeta @@ -25,10 +27,10 @@ URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch -%if %{with_tests} +%if %{with tests} # For tests %global phpunit %{_bindir}/phpunit11 -BuildRequires: phpunit11 >= 11.5.55 +BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 BuildRequires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3) BuildRequires: php-mbstring @@ -84,7 +86,7 @@ cp -pr src %{buildroot}%{php_project} %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php <?php @@ -115,6 +117,9 @@ exit $ret %changelog +* Mon Apr 20 2026 Remi Collet <remi@remirepo.net> - 2.0.49-1 +- update to 2.0.49 (no change) + * Tue Apr 14 2026 Remi Collet <remi@remirepo.net> - 2.0.47-1 - update to 2.0.47 (no change) |
