diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-03-10 15:48:44 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-03-10 15:48:44 +0100 |
commit | db13594fc3d96a45d3a961b1e3db0b0a4eb9f9d9 (patch) | |
tree | 14c1b2d50d92f59a21a7b36e053198ca2d46b6cd | |
parent | d92b8c51760b24fe2b2b29155f92fd8ea6941e04 (diff) |
php-pecl-apfd: 1.0.0RC1
-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 |