From a90c768488e470bd8c1074478fd8dfcf4e290358 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 28 Dec 2015 13:39:35 +0100 Subject: php-pecl-yaf: 3.0.2 (php 7, beta) --- REFLECTION-PHP7 | 4 ++-- php-pecl-yaf-php7.spec | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 index 2301bac..86f047e 100644 --- a/REFLECTION-PHP7 +++ b/REFLECTION-PHP7 @@ -1,4 +1,4 @@ -Extension [ extension #56 yaf version 3.0.1 ] { +Extension [ extension #61 yaf version 3.0.2 ] { - Dependencies { Dependency [ spl (Required) ] @@ -40,7 +40,7 @@ Extension [ extension #56 yaf version 3.0.1 ] { } - Constants [12] { - Constant [ string YAF_VERSION ] { 3.0.1 } + Constant [ string YAF_VERSION ] { 3.0.2 } Constant [ string YAF_ENVIRON ] { product } Constant [ integer YAF_ERR_STARTUP_FAILED ] { 512 } Constant [ integer YAF_ERR_ROUTE_FAILED ] { 513 } diff --git a/php-pecl-yaf-php7.spec b/php-pecl-yaf-php7.spec index 4b72115..ca1ee34 100644 --- a/php-pecl-yaf-php7.spec +++ b/php-pecl-yaf-php7.spec @@ -30,16 +30,17 @@ Summary: Yet Another Framework Name: %{?sub_prefix}php-pecl-yaf -Version: 3.0.1 +Version: 3.0.2 %if 0%{?gh_date:1} Release: 0.8.%{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: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif License: PHP Group: Development/Languages URL: http://pecl.php.net/package/yaf -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz Source1: %{pecl_name}.ini BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -86,8 +87,12 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -qc +%if 0%{?gh_date:1} mv %{gh_project}-%{gh_commit} NTS mv NTS/package.xml . +%else +mv %{pecl_name}-%{version} NTS +%endif # Don't install/register tests sed -e 's/role="test"/role="src"/' -i package.xml @@ -213,6 +218,9 @@ rm -rf %{buildroot} %changelog +* Mon Dec 28 2015 Remi Collet - 3.0.2-1 +- update to 3.0.2 (beta, php 7) + * Sun Dec 13 2015 Remi Collet - 3.0.1-1 - update to 3.0.1 (beta, php 7) -- cgit