From 035281f155fa57ae06f5f8043fcd33d1dd1d0bd1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Feb 2021 06:38:17 +0100 Subject: update to 1.7.3 (no change) --- php-tecnickcom-tc-lib-unicode-data.spec | 35 +++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'php-tecnickcom-tc-lib-unicode-data.spec') diff --git a/php-tecnickcom-tc-lib-unicode-data.spec b/php-tecnickcom-tc-lib-unicode-data.spec index c8788f5..38bb389 100644 --- a/php-tecnickcom-tc-lib-unicode-data.spec +++ b/php-tecnickcom-tc-lib-unicode-data.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-tecnickcom-tc-lib-unicode-data # -# Copyright (c) 2015-2020 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 38e150c5c3a71520647685f21bc766f1a19eb0dd +%global gh_commit 2cc2c454aae40bdef676089b2085874542b514cb %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: 1.6.11 +Version: 1.7.3 Release: 1%{?dist} Summary: PHP library containing UTF-8 font definitions @@ -26,20 +26,23 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildArch: noarch %if %{with_tests} # For tests -%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 -%global phpunit %{_bindir}/phpunit7 +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 +%global phpunit %{_bindir}/phpunit9 +BuildRequires: phpunit9 >= 9.5.0 %else -%global phpunit %{_bindir}/phpunit +%global phpunit %{_bindir}/phpunit8 +BuildRequires: phpunit8 >= 8.5.13 %endif -BuildRequires: %{phpunit} BuildRequires: php(language) >= 5.4 %endif +BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { # "php": ">=5.4" Requires: php(language) >= 5.4 # From phpcompatinfo report for version 1.1.1 # Only Core +Requires: php-composer(fedora/autoloader) # Library renamed (not provided as not compatible) Obsoletes: php-tecnickcom-tc-lib-pdf-font-data < 1.2 @@ -64,29 +67,28 @@ grep -q '^%{version}$' VERSION %build -# Empty build section, most likely nothing required. +phpab --template fedora --output src/autoload.php src %install mkdir -p $(dirname %{buildroot}%{php_project}) cp -pr src %{buildroot}%{php_project} -cp -p resources/autoload.php \ - %{buildroot}%{php_project}/autoload.php %check %if %{with_tests} mkdir vendor -cat < - 1.7.3-1 +- update to 1.7.3 (no change) + +* Mon Dec 21 2020 Remi Collet - 1.7.0-1 +- update to 1.7.0 +- switch to classmap autoloader + * Fri Jan 3 2020 Remi Collet - 1.6.11-1 - update to 1.6.11 (no change) -- cgit