diff options
Diffstat (limited to 'php-tecnickcom-tc-lib-file.spec')
-rw-r--r-- | php-tecnickcom-tc-lib-file.spec | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/php-tecnickcom-tc-lib-file.spec b/php-tecnickcom-tc-lib-file.spec index 8d1f137..249481f 100644 --- a/php-tecnickcom-tc-lib-file.spec +++ b/php-tecnickcom-tc-lib-file.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit f1eef59ace3f85dfca874a2a469ce12bb5e958e7 +%global gh_commit f882cbae222a7ef1ff4fbfcdb6d09daff35f1311 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{gh_owner}-%{gh_project} -Version: 2.0.7 +Version: 2.0.8 Release: 1%{?dist} Summary: PHP library to read byte-level data from files @@ -26,15 +26,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildArch: noarch %if %{with_tests} # For tests -# remirepo:1 -%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10 %global phpunit %{_bindir}/phpunit10 BuildRequires: phpunit10 >= 10.1.2 -# remirepo:4 -%else -%global phpunit %{_bindir}/phpunit9 -BuildRequires: phpunit9 >= 9.6.13 -%endif BuildRequires: php(language) >= 8.0 BuildRequires: php-curl BuildRequires: php-pcre @@ -42,7 +35,7 @@ BuildRequires: php-pcre BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=5.4", +# "php": ">=8.0", # "ext-curl": "*", # "ext-pcre": "*" Requires: php(language) >= 8.0 @@ -92,7 +85,7 @@ EOF sed -i 's:src:File:g' -i test/DirTest.php ret=0 -for cmdarg in php "php80 %{_bindir}/phpunit9" php81 php82 php83; do +for cmdarg in php php81 php82 php83; do if which $cmdarg; then set $cmdarg cp phpunit.xml.dist phpunit.xml @@ -118,6 +111,9 @@ exit $ret %changelog +* Tue Nov 28 2023 Remi Collet <remi@remirepo.net> - 2.0.8-1 +- update to 2.0.8 (no change) + * Wed Nov 22 2023 Remi Collet <remi@remirepo.net> - 2.0.7-1 - update to 2.0.7 - raise dependency on PHP 8 |