diff options
Diffstat (limited to 'php-pecl-apcu-bc.spec')
-rw-r--r-- | php-pecl-apcu-bc.spec | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pecl-apcu-bc.spec b/php-pecl-apcu-bc.spec index e40707e..55ca117 100644 --- a/php-pecl-apcu-bc.spec +++ b/php-pecl-apcu-bc.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-apcu-bc # -# Copyright (c) 2015 Remi Collet +# Copyright (c) 2015-2016 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -35,12 +35,12 @@ Name: %{?sub_prefix}php-pecl-%{pecl_name} Summary: APCu Backwards Compatibility Module -Version: 1.0.0 +Version: 1.0.1 %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 %else -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz %endif @@ -111,7 +111,7 @@ mv %{proj_name}-%{version} NTS cd NTS # Sanity check, really often broken -extver=$(sed -n '/#define PHP_APC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) +extver=$(sed -n '/#define PHP_APCU_BC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:dev}"; then : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}%{?gh_date:dev}. exit 1 @@ -238,6 +238,9 @@ fi %changelog +* Mon Jan 4 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-0 +- test build for upcoming 1.0.1 + * Sat Dec 26 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-2 - missing dependency on APCu |