summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-29 15:39:17 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-29 15:39:17 +0100
commit9440118b0a683bfcad28a8efb7708fa9b67ed528 (patch)
tree710f7993a1d230ab2894dda38880e9ec138921e2
parente0626928808ea6301a3326e9eabdd80f523a46d2 (diff)
php 7.0.3 test build
-rw-r--r--php.spec18
1 files changed, 16 insertions, 2 deletions
diff --git a/php.spec b/php.spec
index aa82b81..43e751e 100644
--- a/php.spec
+++ b/php.spec
@@ -125,18 +125,27 @@
%global db_devel libdb-devel
%endif
+%global gh_commit dd3d10cef16be8ee59e379a49841e581245cc5ba
+%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+%global gh_date 20160129
+%global gh_owner php
+%global gh_project php-src
%global rcver RC1
-%global rpmrel 2
+%global rpmrel 3
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: 7.0.3
+%if 0%{?gh_date}
+Release: 0.%{rpmrel}.%{gh_date}git%{gh_short}%{?dist}
+%else
%if 0%{?rcver:1}
Release: 0.%{rpmrel}.%{rcver}%{?dist}
%else
Release: %{rpmrel}%{?dist}
%endif
+%endif
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -229,7 +238,9 @@ BuildRequires: libtool-ltdl-devel
%if %{with_dtrace}
BuildRequires: systemtap-sdt-devel
%endif
-#BuildRequires: bison
+%if 0%{?gh_date}
+BuildRequires: bison
+%endif
Requires: httpd-mmn = %{_httpd_mmn}
Provides: %{?scl_prefix}mod_php = %{version}-%{release}
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
@@ -1822,6 +1833,9 @@ fi
%changelog
+* Fri Jan 29 2016 Remi Collet <remi@fedoraproject.org> 7.0.3-0.3.20160129gitdd3d10c
+- test build
+
* Fri Jan 29 2016 Remi Collet <remi@fedoraproject.org> 7.0.3-0.2.0RC1
- FPM: test build for https://bugs.php.net/62172