From 4f37849459e6163e1cfc4db45b7bec7c653235be Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Dec 2015 07:47:44 +0100 Subject: php-pecl-libsodium: rebuild for libsodium 1.0.7 --- php-pecl-libsodium.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/php-pecl-libsodium.spec b/php-pecl-libsodium.spec index 247dd64..2dceddc 100644 --- a/php-pecl-libsodium.spec +++ b/php-pecl-libsodium.spec @@ -32,12 +32,15 @@ Summary: Wrapper for the Sodium cryptographic library Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.0.2 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +# See https://github.com/jedisct1/libsodium-php/pull/70 +Patch0: %{pecl_name}-pr70.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if "%{?vendor}" == "Remi Collet" # Ensure libsodium-last is used @@ -102,6 +105,7 @@ mv %{pecl_name}-%{version} NTS sed -e '/role="test"/d' -i package.xml cd NTS +%patch0 -p1 -b .pr70 # Sanity check, really often broken extver=$(sed -n '/#define PHP_LIBSODIUM_VERSION/{s/.* "//;s/".*$//;p}' php_libsodium.h) @@ -234,6 +238,11 @@ rm -rf %{buildroot} %changelog +* Wed Dec 8 2015 Remi Collet - 1.0.2-3 +- rebuild against libsodium 1.0.7 +- add upstream patch for test suite from + https://github.com/jedisct1/libsodium-php/pull/70 + * Wed Nov 4 2015 Remi Collet - 1.0.2-2 - rebuild against libsodium 1.0.6 -- cgit