summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcache.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-memcache.spec')
-rw-r--r--php-pecl-memcache.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/php-pecl-memcache.spec b/php-pecl-memcache.spec
index b817081..7d90a5d 100644
--- a/php-pecl-memcache.spec
+++ b/php-pecl-memcache.spec
@@ -19,11 +19,11 @@
Summary: Extension to work with the Memcached caching daemon
Name: %{?scl_prefix}php-pecl-memcache
-Version: 4.0.5
+Version: 4.0.5.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
License: PHP
-URL: http://pecl.php.net/package/%{pecl_name}
+URL: https://pecl.php.net/package/%{pecl_name}
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
@@ -107,9 +107,7 @@ sed -e 's/role="test"/role="src"/' \
pushd NTS
# Chech version as upstream often forget to update this
-sed -e '/PHP_MEMCACHE_VERSION/s/4.0.4/4.0.5/' -i */php_memcache.h
dir=php7
-
extver=$(sed -n '/#define PHP_MEMCACHE_VERSION/{s/.* "//;s/".*$//;p}' $dir/php_memcache.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
: Error: Upstream version is now ${extver}, expecting %{version}%{?prever:-%{prever}}
@@ -289,6 +287,9 @@ fi
%changelog
+* Thu Dec 19 2019 Remi Collet <remi@remirepo.net> - 4.0.5.1-1
+- update to 4.0.5.1 (no change)
+
* Thu Dec 19 2019 Remi Collet <remi@remirepo.net> - 4.0.5-1
- update to 4.0.5
- switch back to sources from PECL