summaryrefslogtreecommitdiffstats
path: root/php-pecl-raphf.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-07 13:56:34 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-07 13:56:34 +0100
commit7a4a53c131930f178e2b163cabda866ed15a1793 (patch)
tree0ee92aec8323010440da1d988b199c15d4f72dc9 /php-pecl-raphf.spec
parent79a959af1fa49270f14cacbb73eaf7aa98608e66 (diff)
php-pecl-raphf: 1.1.1RC1
Diffstat (limited to 'php-pecl-raphf.spec')
-rw-r--r--php-pecl-raphf.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/php-pecl-raphf.spec b/php-pecl-raphf.spec
index 06259b8..5dce9c6 100644
--- a/php-pecl-raphf.spec
+++ b/php-pecl-raphf.spec
@@ -33,15 +33,16 @@
%else
%global ini_name 40-%{pecl_name}.ini
%endif
+%global prever RC1
Summary: Resource and persistent handles factory
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.1.0
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.1.1
+Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?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
@@ -86,7 +87,7 @@ Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
A reusable split-off of pecl_http's persistent handle and resource
factory API.
-Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}.
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
%package devel
@@ -101,13 +102,13 @@ These are the files needed to compile programs using %{name}.
%prep
%setup -q -c
-mv %{pecl_name}-%{version} NTS
+mv %{pecl_name}-%{version}%{?prever} NTS
cd NTS
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_RAPHF_VERSION/{s/.* "//;s/".*$//;p}' php_raphf.h)
-if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
- : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever:-%{prever}}.
+if test "x${extver}" != "x%{version}%{?prever}"; then
+ : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}.
exit 1
fi
cd ..
@@ -256,6 +257,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Dec 7 2015 Remi Collet <remi@fedoraproject.org> - 1.1.1-0.1.RC1
+- Update to 1.1.1RC1 (beta)
+
* Tue Jul 28 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-1
- Update to 1.1.0 (stable)