summaryrefslogtreecommitdiffstats
path: root/php-pecl-libsodium2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-01 19:30:28 +0200
committerRemi Collet <remi@remirepo.net>2017-10-01 19:30:28 +0200
commit5d226398d7508fb7a781d46f09c3d5662690e4d5 (patch)
tree4cc3541f0b10d4cba7be856aedf73885cad50c3d /php-pecl-libsodium2.spec
parentfbb16654f709e792d67e6c683062357a8dd75f5b (diff)
v2.0.8
Diffstat (limited to 'php-pecl-libsodium2.spec')
-rw-r--r--php-pecl-libsodium2.spec12
1 files changed, 9 insertions, 3 deletions
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 <remi@remirepo.net> - 2.0.8-1
+- Update to 2.0.8
+- rebuild for libsodium 1.0.15
+
* Thu Sep 28 2017 Remi Collet <remi@remirepo.net> - 2.0.7-2
- allow install of both v1 and v2 extensions