summaryrefslogtreecommitdiffstats
path: root/php-pecl-libsodium2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-libsodium2.spec')
-rw-r--r--php-pecl-libsodium2.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/php-pecl-libsodium2.spec b/php-pecl-libsodium2.spec
index ef3efaa..0ca7f50 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.2
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 2.0.4
+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
-BuildRequires: pkgconfig(libsodium) >= 1.0.12
+# Ensure libsodium-last is used (1.0.9 per upstream)
+BuildRequires: pkgconfig(libsodium) >= 1.0.13
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-json
@@ -106,8 +106,6 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
-sed -e '/PHP_SODIUM_VERSION/s/2.0.1/2.0.2/' -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
@@ -238,6 +236,15 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 2.0.4-1
+- Update to 2.0.4
+- open https://github.com/jedisct1/libsodium-php/pull/140 cleanup
+
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 2.0.3-1
+- Update to 2.0.3
+- open https://github.com/jedisct1/libsodium-php/issues/138 broken build
+ and https://github.com/jedisct1/libsodium-php/pull/139
+
* Mon Jul 17 2017 Remi Collet <remi@fedoraproject.org> - 2.0.2-3
- rebuild with libsodium 1.0.13