summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser.spec23
1 files changed, 7 insertions, 16 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-parser.spec b/php-tecnickcom-tc-lib-pdf-parser.spec
index 8a79f53..a91b202 100644
--- a/php-tecnickcom-tc-lib-pdf-parser.spec
+++ b/php-tecnickcom-tc-lib-pdf-parser.spec
@@ -1,12 +1,12 @@
# remirepo/fedora spec file for php-tecnickcom-tc-lib-pdf-parser
#
-# Copyright (c) 2015-2023 Remi Collet
+# Copyright (c) 2015-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%global gh_commit 14ce10fc5ab8b813c9a8374d5583d89d2e1fb1a9
+%global gh_commit 889f4c1e9b2df47688c3b997c5df666f2e805cf0
%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.8
+Version: 3.0.10
Release: 1%{?dist}
Summary: PHP library to parse PDF documents
@@ -29,12 +29,7 @@ BuildArch: noarch
%global phpunit %{_bindir}/phpunit10
BuildRequires: phpunit10 >= 10.1.2
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)
-%else
-BuildRequires: php-%{c_vendor}-tc-lib-pdf-filter < 3
-BuildRequires: php-%{c_vendor}-tc-lib-pdf-filter >= 2.0
-%endif
BuildRequires: php-pcre
%endif
BuildRequires: php-fedora-autoloader-devel
@@ -45,12 +40,7 @@ BuildRequires: php-fedora-autoloader-devel
# "tecnickcom/tc-lib-pdf-filter": "^2.0"
Requires: php(language) >= 5.4
Requires: php-pcre
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0 with php-composer(%{c_vendor}/tc-lib-pdf-filter) < 3)
-%else
-Requires: php-%{c_vendor}-tc-lib-pdf-filter < 3
-Requires: php-%{c_vendor}-tc-lib-pdf-filter >= 2.0
-%endif
# From phpcompatinfo report for version 2.1.0
# None
BuildRequires: php-fedora-autoloader-devel
@@ -105,7 +95,7 @@ require '%{buildroot}%{php_project}/autoload.php';
EOF
ret=0
-for cmdarg in php php81 php82 php83; do
+for cmdarg in php php81 php82 php83 php84; do
if which $cmdarg; then
set $cmdarg
cp phpunit.xml.dist phpunit.xml
@@ -120,8 +110,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
%doc *.md example
@@ -129,6 +117,9 @@ exit $ret
%changelog
+* Mon Aug 19 2024 Remi Collet <remi@remirepo.net> - 3.0.10-1
+- update to 3.0.10 (no change)
+
* Fri Apr 12 2024 Remi Collet <remi@remirepo.net> - 3.0.8-1
- update to 3.0.8