From 9d850fa6a18acd16e48b7907c85d63f9e4279e33 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 29 Jan 2016 07:42:16 +0100 Subject: php-pecl-apcu-bc: 1.0.2 --- REFLECTION | 2 +- php-pecl-apcu-bc.spec | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/REFLECTION b/REFLECTION index 3e95e60..ba7e9dd 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #70 apc version 5.1.2 ] { +Extension [ extension #78 apc version 5.1.3 ] { - Dependencies { Dependency [ apcu (Required) ] diff --git a/php-pecl-apcu-bc.spec b/php-pecl-apcu-bc.spec index 7164426..bc8147b 100644 --- a/php-pecl-apcu-bc.spec +++ b/php-pecl-apcu-bc.spec @@ -7,12 +7,8 @@ # Please, preserve the changelog entries # %if 0%{?scl:1} -%if "%{scl}" == "rh-php56" -%global sub_prefix more-php56- -%else %global sub_prefix %{scl_prefix} %endif -%endif %{?scl: %scl_package php-pecl-apcu-bc} %{!?scl: %global pkg_name %{name}} @@ -37,7 +33,7 @@ Name: %{?sub_prefix}php-pecl-%{pecl_name} Summary: APCu Backwards Compatibility Module # From APCU, to be greater that last APC version -Version: 1.0.1 +Version: 1.0.2 %if 0%{?gh_date:1} Release: 0.1.%{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}/%{proj_name}-%{version}-%{gh_short}.tar.gz @@ -83,11 +79,9 @@ Obsoletes: php55u-pecl-%{ext_name} <= %{version} Obsoletes: php55w-pecl-%{ext_name} <= %{version} Obsoletes: php56u-pecl-%{ext_name} <= %{version} Obsoletes: php56w-pecl-%{ext_name} <= %{version} -%if "%{php_version}" > "7.0" Obsoletes: php70u-pecl-%{pecl_name} <= %{version} Obsoletes: php70w-pecl-%{pecl_name} <= %{version} %endif -%endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 # Filter shared private @@ -111,6 +105,11 @@ mv NTS/package.xml . mv %{proj_name}-%{version} NTS %endif +# Don't install/register tests +sed -e 's/role="test"/role="src"/' \ + %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -i package.xml + cd NTS # Sanity check, really often broken extver=$(sed -n '/#define PHP_APCU_BC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) @@ -242,6 +241,9 @@ fi %changelog +* Fri Jan 29 2016 Remi Collet - 1.0.2-1 +- Update to 1.0.2 (beta) + * Wed Jan 6 2016 Remi Collet - 1.0.1-1 - Update to 1.0.1 (beta) -- cgit