summaryrefslogtreecommitdiffstats
path: root/php-pecl-xxtea.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-xxtea.spec')
-rw-r--r--php-pecl-xxtea.spec12
1 files changed, 8 insertions, 4 deletions
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)