From 802fe2b5d5bae5e5e9216b11f09124c54d9e8dd8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Oct 2013 06:38:44 +0200 Subject: php-pecl-fann: 1.0.5 --- php-pecl-fann.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/php-pecl-fann.spec b/php-pecl-fann.spec index 24c8c40..6715cbd 100644 --- a/php-pecl-fann.spec +++ b/php-pecl-fann.spec @@ -14,7 +14,7 @@ Summary: Wrapper for FANN Library Name: php-pecl-%{pecl_name} -Version: 1.0.4 +Version: 1.0.5 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages @@ -50,6 +50,15 @@ This package provides a PHP binding for FANN %setup -q -c mv %{pecl_name}-%{version} NTS +cd NTS +# Sanity check, really often broken +extver=$(sed -n '/#define PHP_FANN_VERSION/{s/.* "//;s/".*$//;p}' php_fann.h) +if test "x${extver}" != "x%{version}"; then + : Error: Upstream extension version is ${extver}, expecting %{version}. + exit 1 +fi +cd .. + %if %{with_zts} # Duplicate source tree for NTS / ZTS build cp -pr NTS ZTS @@ -156,6 +165,9 @@ rm -rf %{buildroot} %changelog +* Thu Oct 17 2013 Remi Collet - 1.0.5-1 +- Update to 1.0.5 + * Sat Oct 12 2013 Remi Collet - 1.0.4-1 - Update to 1.0.4 (stable) -- cgit