summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-file.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-20 07:38:06 +0200
committerRemi Collet <remi@php.net>2026-04-20 07:38:06 +0200
commit86790080aaa535b458dfff010d1cbd3731028378 (patch)
tree1d11d9771ccfd9c024b8e516e1c39c057543f5fd /php-tecnickcom-tc-lib-file.spec
parent33c96d0736e269c50caa95393bbb82a964dcffc1 (diff)
update to 2.3.6
Diffstat (limited to 'php-tecnickcom-tc-lib-file.spec')
-rw-r--r--php-tecnickcom-tc-lib-file.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/php-tecnickcom-tc-lib-file.spec b/php-tecnickcom-tc-lib-file.spec
index bd58557..807474b 100644
--- a/php-tecnickcom-tc-lib-file.spec
+++ b/php-tecnickcom-tc-lib-file.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-file
%global php_project %{_datadir}/php/Com/Tecnick/File
-%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 to read byte-level data from files
License: LGPL-3.0-or-later
-Version: 2.3.4
+Version: 2.3.6
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-curl
BuildRequires: php-pcre
@@ -75,7 +77,7 @@ cp -pr src %{buildroot}%{php_project}
%check
-%if %{with_tests}
+%if %{with tests}
mkdir vendor
cat << 'EOF' | tee vendor/autoload.php
<?php
@@ -110,6 +112,9 @@ exit $ret
%changelog
+* Mon Apr 20 2026 Remi Collet <remi@remirepo.net> - 2.3.6-1
+- update to 2.3.6
+
* Tue Apr 14 2026 Remi Collet <remi@remirepo.net> - 2.3.4-1
- update to 2.3.4 (no change)