summaryrefslogtreecommitdiffstats
path: root/php-Faker.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-11-18 12:43:25 +0100
committerRemi Collet <remi@remirepo.net>2019-11-18 12:43:25 +0100
commit7ca9d5c52183d1bf1ba78932164af0c751c95bd6 (patch)
treefafaf9d0542d18371d59a96ca74c138f2e30b739 /php-Faker.spec
parente6841d2e76bc421da053ba8ac23eb942e1b433bf (diff)
v1.9.0 from Fedora
Diffstat (limited to 'php-Faker.spec')
-rw-r--r--php-Faker.spec21
1 files changed, 13 insertions, 8 deletions
diff --git a/php-Faker.spec b/php-Faker.spec
index d9b5fc5..9837e87 100644
--- a/php-Faker.spec
+++ b/php-Faker.spec
@@ -12,8 +12,8 @@
%global github_owner fzaninotto
%global github_name Faker
-%global github_version 1.8.0
-%global github_commit f72816b43e74063c8b10357394b6bba8cb1c10de
+%global github_version 1.9.0
+%global github_commit 27a216cbe72327b2d6369fab721a5843be71e57d
%global composer_vendor fzaninotto
%global composer_project faker
@@ -33,7 +33,11 @@ Summary: A PHP library that generates fake data
License: MIT
URL: https://github.com/%{github_owner}/%{github_name}
-Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+
+# GitHub export does not include tests.
+# Run php-Faker-get-source.sh to create full source.
+Source0: %{name}-%{github_version}-%{github_commit}.tar.gz
+Source1: %{name}-get-source.sh
# remirepo:3
# For test build on all available arch
@@ -46,12 +50,10 @@ BuildArch: noarch
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
BuildRequires: php-intl
-## phpcompatinfo (computed from version 1.8.0)
-BuildRequires: php-ctype
+## phpcompatinfo (computed from version 1.9.0)
BuildRequires: php-curl
BuildRequires: php-date
BuildRequires: php-dom
-BuildRequires: php-filter
BuildRequires: php-hash
BuildRequires: php-iconv
BuildRequires: php-json
@@ -65,7 +67,7 @@ BuildRequires: php-fedora-autoloader-devel
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 1.8.0)
+# phpcompatinfo (computed from version 1.9.0)
Requires: php-curl
Requires: php-date
Requires: php-dom
@@ -158,7 +160,7 @@ sed 's/function testFixedSeedWithMaximumTimestamp/function SKIP_testFixedSeedWit
ret=0
for cmd in php php70 php71 php72 php73 php74; do
if which $cmd; then
- $cmd %{_bindir}/phpunit --verbose || ret=1
+ $cmd -d memory_limit=1G %{_bindir}/phpunit --verbose || ret=1
fi
done
exit $ret
@@ -176,6 +178,9 @@ exit $ret
%changelog
+* Sun Nov 17 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.9.0-1
+- Update to 1.9.0 (RHBZ #1772493)
+
* Sun Jun 16 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.8.0-1
- Update to 1.8.0 (RHBZ #1481901)