From b11cf212778abb4d763f604f6f47a452afd3184c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Oct 2021 11:12:48 +0200 Subject: update to 5.1.21 --- php-pecl-apcu.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'php-pecl-apcu.spec') diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec index 189e5ac..f914506 100644 --- a/php-pecl-apcu.spec +++ b/php-pecl-apcu.spec @@ -29,23 +29,20 @@ Name: %{?sub_prefix}php-pecl-apcu Summary: APC User Cache -Version: 5.1.20 +Version: 5.1.21 License: PHP URL: https://pecl.php.net/package/APCu %if 0%{?gh_date:1} Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif Source1: %{pecl_name}-5.1.19.ini Source2: %{pecl_name}-panel.conf Source3: %{pecl_name}.conf.php -# Upstream patch -Patch0: %{pecl_name}-php81.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -160,8 +157,6 @@ mv %{pecl_name}-%{version} NTS %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS -%patch0 -p1 -b .up - # Sanity check, really often broken extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:-dev}"; then @@ -327,6 +322,9 @@ fi %changelog +* Thu Oct 7 2021 Remi Collet - 5.1.21-1 +- update to 5.1.21 + * Wed Sep 01 2021 Remi Collet - 5.1.20-5 - rebuild for 8.1.0RC1 -- cgit