diff options
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-pecl-apfd.spec | 16 |
2 files changed, 11 insertions, 7 deletions
@@ -1,3 +1,3 @@ -Extension [ <persistent> extension #184 apfd version 1.0.0 ] { +Extension [ <persistent> extension #183 apfd version 1.0.0RC1 ] { } diff --git a/php-pecl-apfd.spec b/php-pecl-apfd.spec index 5d0e75a..3773fda 100644 --- a/php-pecl-apfd.spec +++ b/php-pecl-apfd.spec @@ -19,15 +19,16 @@ %else %global ini_name 40-%{pecl_name}.ini %endif +%global prever RC1 Summary: Always Populate Form Data Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.0.0 -Release: 0%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 0.1.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel > 5.3 @@ -77,7 +78,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -q -c -mv %{pecl_name}-%{version} NTS +mv %{pecl_name}-%{version}%{?prever} NTS # Don't install/register tests sed -e 's/role="test"/role="src"/' -i package.xml @@ -85,8 +86,8 @@ sed -e 's/role="test"/role="src"/' -i package.xml cd NTS # Sanity check, really often broken extver=$(sed -n '/#define PHP_APFD_VERSION/{s/.* "//;s/".*$//;p}' php_apfd.h) -if test "x${extver}" != "x%{version}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}. +if test "x${extver}" != "x%{version}%{?prever}"; then + : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}. exit 1 fi cd .. @@ -211,5 +212,8 @@ rm -rf %{buildroot} %changelog -* Sat Feb 14 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-1 +* Tue Mar 10 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.1.RC1 +- Update to 1.0.0RC1 + +* Sat Feb 14 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0 - initial package, for upcoming version 1.0.0
\ No newline at end of file |