From b3b8a3e8751a25d6a4cf07e9c31300ad7103b720 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 28 Feb 2015 08:59:12 +0100 Subject: php-pecl-geoip: fix F22 build --- php-pecl-geoip.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/php-pecl-geoip.spec b/php-pecl-geoip.spec index 540b15c..e85f85d 100644 --- a/php-pecl-geoip.spec +++ b/php-pecl-geoip.spec @@ -14,7 +14,7 @@ Name: %{?scl_prefix}php-pecl-geoip Version: 1.1.0 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}.1 +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: Extension to map IP addresses to geographic places Group: Development/Languages License: PHP @@ -148,13 +148,19 @@ done %endif cd NTS +%if 0%{?fedora} > 21 +# TODO America/Toronto instead of America/Montreal +rm tests/013.phpt +%endif + TEST_PHP_EXECUTABLE=%{__php} \ REPORT_EXIT_STATUS=1 \ NO_INTERACTION=1 \ %{__php} run-tests.php \ -n -q \ -d extension_dir=modules \ - -d extension=%{pecl_name}.so + -d extension=%{pecl_name}.so \ + --show-diff %clean @@ -184,6 +190,9 @@ fi %changelog +* Sat Feb 28 2015 Remi Collet - 1.1.0-3 +- ignore 1 test on Fedora >= 22 + * Wed Dec 24 2014 Remi Collet - 1.1.0-2.1 - Fedora 21 SCL mass rebuild -- cgit