summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-tecnickcom-tc-lib-unicode.spec23
1 files changed, 7 insertions, 16 deletions
diff --git a/php-tecnickcom-tc-lib-unicode.spec b/php-tecnickcom-tc-lib-unicode.spec
index 1608742..faa42b5 100644
--- a/php-tecnickcom-tc-lib-unicode.spec
+++ b/php-tecnickcom-tc-lib-unicode.spec
@@ -1,12 +1,12 @@
# remirepo/fedora spec file for php-tecnickcom-tc-lib-unicode
#
-# Copyright (c) 2016-2023 Remi Collet
+# Copyright (c) 2016-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 55b48356a7fdba80197dee14495c225b6fed7ad1
+%global gh_commit 287d616ce2b97206514b61ad829358b109199ffb
%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.11
+Version: 2.0.13
Release: 1%{?dist}
Summary: PHP library containing Unicode methods
@@ -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-unicode-data) >= 2.0 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3)
-%else
-BuildRequires: php-%{c_vendor}-tc-lib-unicode-data < 3
-BuildRequires: php-%{c_vendor}-tc-lib-unicode-data >= 2.0
-%endif
BuildRequires: php-mbstring
BuildRequires: php-pcre
%endif
@@ -48,12 +43,7 @@ BuildRequires: php-fedora-autoloader-devel
Requires: php(language) >= 8.0
Requires: php-mbstring
Requires: php-pcre
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3)
-%else
-Requires: php-%{c_vendor}-tc-lib-unicode-data < 3
-Requires: php-%{c_vendor}-tc-lib-unicode-data >= 2.0
-%endif
# From phpcompatinfo report for version 1.2.1
# None
BuildRequires: php-fedora-autoloader-devel
@@ -102,7 +92,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
@@ -117,8 +107,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
%doc *.md
@@ -126,6 +114,9 @@ exit $ret
%changelog
+* Mon Aug 19 2024 Remi Collet <remi@remirepo.net> - 2.0.13-1
+- update to 2.0.13 (no change)
+
* Fri Apr 12 2024 Remi Collet <remi@remirepo.net> - 2.0.11-1
- update to 2.0.11