summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-23 11:00:03 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-23 11:00:03 +0100
commit60e3053c31e4d5d0992f3713cd650f5759d830bf (patch)
tree0ae93f2fb51dc41f20f48ded05fbac56321ea208
parent691db6dfd8afdeb27413737a502981de8f238293 (diff)
php-pecl-xxtea: 1.0.8
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-xxtea.spec12
2 files changed, 9 insertions, 5 deletions
diff --git a/REFLECTION b/REFLECTION
index 733e9a7..6c051db 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #170 xxtea version 1.0.6 ] {
+Extension [ <persistent> extension #170 xxtea version 1.0.8 ] {
- Functions {
Function [ <internal:xxtea> function xxtea_encrypt ] {
diff --git a/php-pecl-xxtea.spec b/php-pecl-xxtea.spec
index 5f08abb..e17e5c5 100644
--- a/php-pecl-xxtea.spec
+++ b/php-pecl-xxtea.spec
@@ -21,7 +21,7 @@
Summary: XXTEA encryption algorithm extension for PHP
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.0.6
+Version: 1.0.8
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: MIT
Group: Development/Languages
@@ -82,11 +82,9 @@ mv %{pecl_name}-%{version} NTS
sed -e 's/role="test"/role="src"/' -i package.xml
cd NTS
-# https://github.com/xxtea/xxtea-pecl/pull/2
-sed -e '/XXTEA_VERSION/s/1.0.5/1.0.6/' -i php_xxtea.h
# Sanity check, really often broken
-extver=$(sed -n '/#define XXTEA_VERSION/{s/.* "//;s/".*$//;p}' php_xxtea.h)
+extver=$(sed -n '/#define PHP_XXTEA_VERSION/{s/.* "//;s/".*$//;p}' php_xxtea.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
: Error: Upstream extension version is ${extver}, expecting %{version}%{?prever:-%{prever}}.
exit 1
@@ -219,6 +217,12 @@ rm -rf %{buildroot}
%changelog
+* Mon Mar 23 2015 Remi Collet <remi@fedoraproject.org> - 1.0.8-1
+- Update to 1.0.8 (stable)
+
+* Mon Mar 23 2015 Remi Collet <remi@fedoraproject.org> - 1.0.7-1
+- Update to 1.0.7 (stable)
+
* Mon Mar 23 2015 Remi Collet <remi@fedoraproject.org> - 1.0.6-1
- Update to 1.0.6 (stable)
- open https://github.com/xxtea/xxtea-pecl/pull/2 (version)