From 93859de439f26071e6804a7627d9a788c7156512 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 28 Feb 2015 08:00:06 +0100 Subject: php-pecl-quickhash: fix gcc 5 build --- php-pecl-quickhash.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'php-pecl-quickhash.spec') diff --git a/php-pecl-quickhash.spec b/php-pecl-quickhash.spec index ce1f1ed..99fd042 100644 --- a/php-pecl-quickhash.spec +++ b/php-pecl-quickhash.spec @@ -2,7 +2,7 @@ # # Copyright (c) 2013-2015 Remi Collet # License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/3.0/ +# http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # @@ -22,7 +22,7 @@ Summary: Set of specific strongly-typed classes for sets and hashing Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.0.0 -Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}.1 +Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -30,6 +30,7 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz # https://github.com/derickr/quickhash/pull/4 Patch0: %{pecl_name}-pr4.patch +Patch1: %{pecl_name}-pr5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel @@ -84,6 +85,7 @@ mv %{pecl_name}-%{version} NTS cd NTS %patch0 -p1 +%patch1 -p1 # Sanity check, really often broken extver=$(sed -n '/#define PHP_QUICKHASH_VERSION/{s/.* "//;s/".*$//;p}' php_quickhash.h) @@ -208,6 +210,10 @@ rm -rf %{buildroot} %changelog +* Sat Feb 28 2015 Remi Collet - 1.0.0-6 +- add patch for GCC 5 build +- open https://github.com/derickr/quickhash/pull/5 + * Wed Dec 24 2014 Remi Collet - 1.0.0-5.1 - Fedora 21 SCL mass rebuild -- cgit