From 2b95092863287791238d1d27f73553018abb6a66 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Sep 2018 10:16:04 +0200 Subject: fix libraries load order, using patch from https://github.com/bukka/php-fann/pull/38 --- php-pecl-fann.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-fann.spec') diff --git a/php-pecl-fann.spec b/php-pecl-fann.spec index e271006..76e6121 100644 --- a/php-pecl-fann.spec +++ b/php-pecl-fann.spec @@ -27,11 +27,13 @@ Summary: Wrapper for FANN Library Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.1.1 -Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 10%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +Patch0: https://patch-diff.githubusercontent.com/raw/bukka/php-fann/pull/38.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: fann-devel > 2.1 BuildRequires: %{?scl_prefix}php-devel > 5.2 @@ -108,6 +110,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .pr38 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_FANN_VERSION/{s/.* "//;s/".*$//;p}' php_fann.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -238,6 +242,10 @@ fi %changelog +* Tue Sep 4 2018 Remi Collet - 1.1.1-10 +- fix libraries load order, using patch from + https://github.com/bukka/php-fann/pull/38 + * Thu Aug 16 2018 Remi Collet - 1.1.1-6 - rebuild for 7.3.0beta2 new ABI -- cgit