summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-09 07:47:44 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-09 07:47:44 +0100
commit4f37849459e6163e1cfc4db45b7bec7c653235be (patch)
treee78a8d7bb836f46c4ba5a23567e1c810a4c9f3e6
parent5de710b3ea9d4f7f74405f01331ab9c2c8962419 (diff)
php-pecl-libsodium: rebuild for libsodium 1.0.7
-rw-r--r--php-pecl-libsodium.spec11
1 files changed, 10 insertions, 1 deletions
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 <remi@fedoraproject.org> - 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 <remi@fedoraproject.org> - 1.0.2-2
- rebuild against libsodium 1.0.6