From 7ca9d5c52183d1bf1ba78932164af0c751c95bd6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Nov 2019 12:43:25 +0100 Subject: v1.9.0 from Fedora --- php-Faker.spec | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'php-Faker.spec') 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 - 1.9.0-1 +- Update to 1.9.0 (RHBZ #1772493) + * Sun Jun 16 2019 Shawn Iwinski - 1.8.0-1 - Update to 1.8.0 (RHBZ #1481901) -- cgit