From 42abb13ac8e058e1e035c5bc669bccb39dc1a1ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Nov 2021 14:44:19 +0100 Subject: v2.9.0 from Fedora --- php-gettext-languages.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/php-gettext-languages.spec b/php-gettext-languages.spec index db2a87a..a67b75d 100644 --- a/php-gettext-languages.spec +++ b/php-gettext-languages.spec @@ -9,7 +9,7 @@ # Name: php-gettext-languages -Version: 2.6.0 +Version: 2.9.0 Release: 1%{?dist} BuildArch: noarch @@ -21,15 +21,15 @@ URL: https://github.com/mlocati/cldr-to-gettext-plural-rules # # To build the tarball: # -# $ git clone git@github.com:mlocati/cldr-to-gettext-plural-rules.git -# $ cd cldr-to-gettext-plural-rules +# $ git clone https://github.com/php-gettext/Languages.git +# $ cd Languages # $ rm .gitattributes # $ touch .gitattributes # $ git archive -o cldr-to-gettext-plural-rules-VERSION.tar.gz --prefix cldr-to-gettext-plural-rules-VERSION/ --worktree-attributes VERSION Source0: cldr-to-gettext-plural-rules-%{version}.tar.gz BuildRequires: php-composer(fedora/autoloader) -BuildRequires: phpunit +BuildRequires: phpunit7 Requires: php(language) >= 5.4.0 Requires: php-cli @@ -74,7 +74,7 @@ cp -ar tests/test %{buildroot}/%{_datadir}/php/Gettext/Languages/Test sed -i "s:require_once.*:require_once '%{buildroot}/%{_datadir}/php/Gettext/Languages/autoloader.php';:" tests/bootstrap.php sed -i "s:require_once.*:require_once '%{buildroot}/%{_datadir}/php/Gettext/Languages/autoloader.php';:" bin/export-plural-rules -phpunit --bootstrap tests/bootstrap.php +phpunit7 --bootstrap tests/bootstrap.php --verbose %files @@ -88,6 +88,12 @@ phpunit --bootstrap tests/bootstrap.php %changelog +* Mon Nov 15 2021 Sundeep Anand - 2.9.0-1 +- Update to 2.9.0 (rhbz#2022881). + +* Fri Oct 29 2021 Remi Collet - 2.6.0-5 +- switch to phpunit7 to fix FTBFS with PHP 8.1 + * Fri Jul 24 2020 Sundeep Anand - 2.6.0-1 - Update to 2.6.0 (#1772151). -- cgit