summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-stomp.spec15
2 files changed, 6 insertions, 11 deletions
diff --git a/REFLECTION b/REFLECTION
index 1703511..a4efb72 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #152 Stomp version 1.0.7 ] {
+Extension [ <persistent> extension #152 Stomp version 1.0.8 ] {
- INI {
Entry [ stomp.default_broker <ALL> ]
diff --git a/php-pecl-stomp.spec b/php-pecl-stomp.spec
index 44448a7..8db2461 100644
--- a/php-pecl-stomp.spec
+++ b/php-pecl-stomp.spec
@@ -24,7 +24,7 @@
Summary: Stomp client extension
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.0.7
+Version: 1.0.8
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
@@ -87,14 +87,8 @@ sed -e 's/role="test"/role="src"/' -i package.xml
cd NTS
-sed -e '/PHP_STOMP_VERSION_STATUS/s/-dev//' -i php_stomp.h
-
# Sanity check, really often broken
-extmajor=$(sed -n '/#define PHP_STOMP_MAJOR_VERSION/{s/.* "//;s/".*$//;p}' php_stomp.h)
-extminor=$(sed -n '/#define PHP_STOMP_MINOR_VERSION/{s/.* "//;s/".*$//;p}' php_stomp.h)
-extpatch=$(sed -n '/#define PHP_STOMP_PATCH_VERSION/{s/.* "//;s/".*$//;p}' php_stomp.h)
-extstate=$(sed -n '/#define PHP_STOMP_VERSION_STATUS/{s/.* "//;s/".*$//;p}' php_stomp.h)
-extver=${extmajor}.${extminor}.${extpatch}${extstate}
+extver=$(sed -n '/#define PHP_STOMP_VERSION/{s/.* "//;s/".*$//;p}' php_stomp.h)
if test "x${extver}" != "x%{version}%{?versuf}"; then
: Error: Upstream extension version is ${extver}, expecting %{version}%{?versuf}.
exit 1
@@ -107,8 +101,6 @@ cd ..
cp -pr NTS ZTS
%endif
-chmod -x ?TS/*.{c,h}
-
# Create configuration file
cat << 'EOF' | tee %{ini_name}
; Enable %{summary} module
@@ -227,6 +219,9 @@ rm -rf %{buildroot}
%changelog
+* Tue May 19 2015 Remi Collet <remi@fedoraproject.org> - 1.0.8-1
+- Update to 1.0.8 (stable, no change)
+
* Sat May 16 2015 Remi Collet <remi@fedoraproject.org> - 1.0.7-1
- Update to 1.0.7 (stable)
- drop runtime dependency on pear, new scriptlets