summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-07 14:04:23 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-07 14:04:23 +0100
commit436c1053d16d5e4136dbf90b8bc59c4dcb8761c7 (patch)
tree3d4f946473af99077a7fe5e622d245ffc44e42c2
parent7613dc093cd0bf949e2ae5e69db566ef6bae3f7b (diff)
php-pecl-propro: 1.0.2RC1
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-propro.spec18
2 files changed, 12 insertions, 8 deletions
diff --git a/REFLECTION b/REFLECTION
index 9785f3a..37de372 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #115 propro version 1.0.0 ] {
+Extension [ <persistent> extension #138 propro version 1.0.2RC1 ] {
- Classes [1] {
Class [ <internal:propro> final class php\PropertyProxy ] {
diff --git a/php-pecl-propro.spec b/php-pecl-propro.spec
index de2d33a..a8f39d4 100644
--- a/php-pecl-propro.spec
+++ b/php-pecl-propro.spec
@@ -30,15 +30,16 @@
%else
%global ini_name 40-%{pecl_name}.ini
%endif
+%global prever RC1
Summary: Property proxy
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.0.0
-Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.0.2
+Release: 0.1.RC1%{?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
@@ -79,7 +80,7 @@ Obsoletes: php56w-pecl-%{pecl_name}
%description
A reusable split-off of pecl_http's property proxy 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
@@ -94,13 +95,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_PROPRO_VERSION/{s/.* "//;s/".*$//;p}' php_propro.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 ..
@@ -235,6 +236,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Dec 7 2015 Remi Collet <remi@fedoraproject.org> - 1.0.2-0.1.RC1
+- Update to 1.0.2RC1 (beta)
+
* Sun Jun 21 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-5
- allow build against rh-php56 (as more-php56)