summaryrefslogtreecommitdiffstats
path: root/php-pecl-igbinary.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-08-08 07:44:18 +0200
committerRemi Collet <remi@remirepo.net>2021-08-08 07:44:18 +0200
commit1dccf2e8fbb1edcf3fe31e5edb1c552e7244186c (patch)
tree063a8184925ba8e06844d4411d1bf40fbeb9291b /php-pecl-igbinary.spec
parent112b1cca51f47907a367993fc0cc5dc100864521 (diff)
update to 3.2.5
Diffstat (limited to 'php-pecl-igbinary.spec')
-rw-r--r--php-pecl-igbinary.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 460e114..7534833 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -25,7 +25,7 @@
#global gh_date 20161018
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 3.2.4
+%global upstream_version 3.2.5
#global upstream_prever RC1
Summary: Replacement for the standard PHP serializer
@@ -143,6 +143,8 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
cd NTS
# Check version
subdir="php$(%{__php} -r 'echo (PHP_MAJOR_VERSION < 7 ? 5 : 7);')"
+sed -e '/PHP_IGBINARY_VERSION/s/3.2.4/%{version}/' -i src/$subdir/igbinary.h
+
extver=$(sed -n '/#define PHP_IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' src/$subdir/igbinary.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
: Error: Upstream version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
@@ -299,6 +301,9 @@ fi
%changelog
+* Sun Aug 8 2021 Remi Collet <remi@remirepo.net> - 3.2.5-1
+- update to 3.2.5
+
* Sun Jul 25 2021 Remi Collet <remi@remirepo.net> - 3.2.4-1
- update to 3.2.4