summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-unicode.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-unicode.spec')
-rw-r--r--php-tecnickcom-tc-lib-unicode.spec23
1 files changed, 12 insertions, 11 deletions
diff --git a/php-tecnickcom-tc-lib-unicode.spec b/php-tecnickcom-tc-lib-unicode.spec
index cab5bcd..5fafa0d 100644
--- a/php-tecnickcom-tc-lib-unicode.spec
+++ b/php-tecnickcom-tc-lib-unicode.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit ec31b43b1d18a9e61b0f91275dfb1911ad1870e2
+%global gh_commit 382c02f6426e64508a1b46a02897d401286f7859
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
@@ -15,16 +15,14 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}
-Version: 1.3.8
-Release: 2%{?dist}
+Version: 1.3.9
+Release: 1%{?dist}
Summary: PHP library containing Unicode methods
License: LGPLv3+
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{?gh_short}.tar.gz
-Patch0: https://patch-diff.githubusercontent.com/raw/tecnickcom/tc-lib-unicode/pull/5.patch
-
BuildArch: noarch
%if %{with_tests}
# For tests
@@ -36,10 +34,10 @@ BuildArch: noarch
BuildRequires: %{phpunit}
BuildRequires: php(language) >= 5.4
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.3 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 2)
+BuildRequires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.9 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 2)
%else
BuildRequires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 2
-BuildRequires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.3
+BuildRequires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.9
%endif
BuildRequires: php-mbstring
BuildRequires: php-pcre
@@ -49,15 +47,15 @@ BuildRequires: php-pcre
# "php": ">=5.4"
# "ext-mbstring": "*",
# "ext-pcre": "*",
-# "tecnickcom/tc-lib-unicode-data": "^1.6.0"
+# "tecnickcom/tc-lib-unicode-data": "^1.6.9"
Requires: php(language) >= 5.4
Requires: php-mbstring
Requires: php-pcre
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.3 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 2)
+Requires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.9 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 2)
%else
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 2
-Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.3
+Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.6.9
%endif
# From phpcompatinfo report for version 1.2.1
# None
@@ -77,7 +75,6 @@ The initial source code has been derived from TCPDF (http://www.tcpdf.org/).
%prep
%setup -q -n %{gh_project}-%{gh_commit}
-%patch0 -p1
: Sanity check
grep -q '^%{version}$' VERSION
@@ -125,6 +122,10 @@ exit $ret
%changelog
+* Fri Sep 20 2019 Remi Collet <remi@remirepo.net> - 1.3.9-1
+- update to 1.3.9
+- drop patch merged upstream
+
* Fri Sep 13 2019 Remi Collet <remi@remirepo.net> - 1.3.8-2
- add patch for 7.4 from
https://github.com/tecnickcom/tc-lib-unicode/pull/5