summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-parser.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-parser.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser.spec16
1 files changed, 6 insertions, 10 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-parser.spec b/php-tecnickcom-tc-lib-pdf-parser.spec
index fc226da..508d091 100644
--- a/php-tecnickcom-tc-lib-pdf-parser.spec
+++ b/php-tecnickcom-tc-lib-pdf-parser.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 2fe8eed647003809a691c4dc3eb2de50f31cff77
+%global gh_commit 02ae33cc45bbcaf5cfdd9f18ec83d800a3175d5a
%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: 3.0.4
+Version: 3.0.5
Release: 1%{?dist}
Summary: PHP library to parse PDF documents
@@ -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
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0 with php-composer(%{c_vendor}/tc-lib-pdf-filter) < 3)
@@ -112,7 +105,7 @@ require '%{buildroot}%{php_project}/autoload.php';
EOF
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
@@ -136,6 +129,9 @@ exit $ret
%changelog
+* Tue Nov 28 2023 Remi Collet <remi@remirepo.net> - 3.0.5-1
+- update to 3.0.5 (no change)
+
* Wed Nov 22 2023 Remi Collet <remi@remirepo.net> - 3.0.4-1
- update to 3.0.4
- raise dependency on PHP 8