summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-09 18:36:25 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-09 18:36:25 +0200
commit1757c724683f87489965ddb1cfb55822a3a1fc3e (patch)
treef7292b09d6138f2d3b5fc11e686d4643da99c712 /php.spec
parent1c3dc77e24cc41c86cc81658e3304de2c75aec41 (diff)
php70-php: 7.0.0alpha1
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/php.spec b/php.spec
index 92bd52d..90b95e8 100644
--- a/php.spec
+++ b/php.spec
@@ -124,19 +124,23 @@
%global db_devel libdb-devel
%endif
-%global gh_commit 8a089e7e71bfcb0829e97feb42a7495f8e39e1b4
+%global gh_commit 8a884d628b5c23c4b33c96c723331fda9e17d2bc
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_date 20150602
+%global gh_date 20150609
%global gh_owner php
%global gh_project php-src
-#global rcver RC1
-%global rpmrel 7
+%global rcver alpha1
+%global rpmrel 8
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: 7.0.0
+%if 0%{?rcver:1}
+Release: 0.%{rpmrel}.%{rcver}%{?dist}
+%else
Release: 0.%{rpmrel}.%{gh_date}git%{gh_short}%{?dist}
+%endif
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -947,8 +951,8 @@ rm Zend/tests/bug68412.phpt
# Safety check for API version change.
pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h)
-if test "x${pver}" != "x%{version}%{?rcver}%{?gh_date:-dev}"; then
- : Error: Upstream PHP version is now ${pver}, expecting %{version}%{?rcver}%{?gh_date:-dev}.
+if test "x${pver}" != "x%{version}%{?rcver}%{!?rcver:%{?gh_date:-dev}}"; then
+ : Error: Upstream PHP version is now ${pver}, expecting %{version}%{?rcver}%{!?rcver:%{?gh_date:-dev}}.
: Update the version/rcver macros and rebuild.
exit 1
fi
@@ -1801,6 +1805,9 @@ fi
%changelog
+* Tue Jun 9 2015 Remi Collet <remi@fedoraproject.org> 7.0.0-0.8.alpha1
+- Update to 7.0.0alpha1
+
* Tue Jun 2 2015 Remi Collet <remi@fedoraproject.org> 7.0.0-0.7.20150602git8a089e7
- new snapshot