summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-17 14:44:19 +0100
committerRemi Collet <remi@php.net>2021-11-17 14:44:19 +0100
commit42abb13ac8e058e1e035c5bc669bccb39dc1a1ca (patch)
treefc796afb5dd53a5c7dd29c82e14068af754859cb
parentc7c5a04e2dd7312bd0ac9259327be0ad8cd9b475 (diff)
v2.9.0 from FedoraHEADmaster
-rw-r--r--php-gettext-languages.spec16
1 files 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 <suanand@fedoraproject.org> - 2.9.0-1
+- Update to 2.9.0 (rhbz#2022881).
+
+* Fri Oct 29 2021 Remi Collet <remi@remirepo.net> - 2.6.0-5
+- switch to phpunit7 to fix FTBFS with PHP 8.1
+
* Fri Jul 24 2020 Sundeep Anand <suanand@fedoraproject.org> - 2.6.0-1
- Update to 2.6.0 (#1772151).