From 5d226398d7508fb7a781d46f09c3d5662690e4d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 1 Oct 2017 19:30:28 +0200 Subject: v2.0.8 --- php-pecl-libsodium2.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'php-pecl-libsodium2.spec') diff --git a/php-pecl-libsodium2.spec b/php-pecl-libsodium2.spec index 633b509..2a07b4e 100644 --- a/php-pecl-libsodium2.spec +++ b/php-pecl-libsodium2.spec @@ -24,15 +24,15 @@ Summary: Wrapper for the Sodium cryptographic library Name: %{?sub_prefix}php-pecl-%{proj_name}2 -Version: 2.0.7 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 2.0.8 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{proj_name} Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz # Ensure libsodium-last is used (1.0.9 per upstream) -BuildRequires: pkgconfig(libsodium) >= 1.0.13 +BuildRequires: pkgconfig(libsodium) >= 1.0.15 BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-json @@ -104,6 +104,8 @@ sed -e 's/role="test"/role="src"/' \ cd NTS +sed -e '/PHP_SODIUM_VERSION/s/2.0.7/2.0.8/' -i php_libsodium.h + # Sanity check, really often broken extver=$(sed -n '/#define PHP_SODIUM_VERSION/{s/.* "//;s/".*$//;p}' php_libsodium.h) if test "x${extver}" != "x%{version}"; then @@ -234,6 +236,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Sun Oct 1 2017 Remi Collet - 2.0.8-1 +- Update to 2.0.8 +- rebuild for libsodium 1.0.15 + * Thu Sep 28 2017 Remi Collet - 2.0.7-2 - allow install of both v1 and v2 extensions -- cgit