summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-17 07:49:45 +0100
committerRemi Collet <remi@remirepo.net>2018-01-17 07:49:45 +0100
commit65ed52a5ed4a2d2d7550f8c6850983a1ac0f70a2 (patch)
treef42ea182b475337dbaeba29635cf7e2e7aebc8fa
parent412c925685f51c44f51bdc4750cce501d4c10c21 (diff)
Update to 7.1.14RC1
define SOURCE_DATE_EPOCH for reproducible build
-rw-r--r--failed.txt16
-rw-r--r--php-7.0.0-fixheader.patch23
-rw-r--r--php.spec14
3 files changed, 16 insertions, 37 deletions
diff --git a/failed.txt b/failed.txt
index 9b2134b..59b8416 100644
--- a/failed.txt
+++ b/failed.txt
@@ -1,17 +1,15 @@
-===== 7.1.13 (2018-01-04)
+===== 7.1.14RC1 (2018-01-17)
$ grep -r 'Tests failed' /var/lib/mock/scl71*/build.log
-/var/lib/mock/scl70el6x/build.log:Tests failed : 0
-/var/lib/mock/scl70el7x/build.log:Tests failed : 0
-/var/lib/mock/scl70fc24x/build.log:Tests failed : 1
-/var/lib/mock/scl70fc25x/build.log:Tests failed : 0
-/var/lib/mock/scl70fc26x/build.log:Tests failed : 0
-/var/lib/mock/scl70fc27x/build.log:Tests failed : 1
+/var/lib/mock/scl71el6x/build.log:Tests failed : 0
+/var/lib/mock/scl71el7x/build.log:Tests failed : 0
+/var/lib/mock/scl71fc24x/build.log:Tests failed : 0
+/var/lib/mock/scl71fc25x/build.log:Tests failed : 0
+/var/lib/mock/scl71fc26x/build.log:Tests failed : 0
+/var/lib/mock/scl71fc27x/build.log:Tests failed : 0
-fc24x, fc27x:
- 1 Bug #60120 proc_open hangs with stdin/out with 2048+ bytes [ext/standard/tests/streams/proc_open_bug60120.phpt]
1 proc_open give erratic test results :(
diff --git a/php-7.0.0-fixheader.patch b/php-7.0.0-fixheader.patch
deleted file mode 100644
index 771a19e..0000000
--- a/php-7.0.0-fixheader.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Make generated php_config.h constant across rebuilds.
-
---- php-7.0.0/configure.in.fixheader
-+++ php-7.0.0/configure.in
-@@ -1278,7 +1278,7 @@ fi
- EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
- EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
-
--PHP_BUILD_DATE=`date '+%Y-%m-%d'`
-+PHP_BUILD_DATE=`date '+%Y-%m-%d' -r $srcdir/NEWS`
- AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
-
- case $host_alias in
-@@ -1289,7 +1289,7 @@ case $host_alias in
- AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[hardcode for each of the cross compiler host])
- ;;
- *)
-- PHP_UNAME=`uname -a | xargs`
-+ PHP_UNAME=`uname | xargs`
- AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
- PHP_OS=`uname | xargs`
- AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
diff --git a/php.spec b/php.spec
index 71d4bf0..b7e66eb 100644
--- a/php.spec
+++ b/php.spec
@@ -120,8 +120,8 @@
%global db_devel libdb-devel
%endif
-%global upver 7.1.13
-#global rcver RC1
+%global upver 7.1.14
+%global rcver RC1
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
@@ -173,8 +173,6 @@ Patch42: php-7.1.0-systzdata-v14.patch
Patch43: php-5.4.0-phpize.patch
# Use -lldap_r for OpenLDAP
Patch45: php-5.6.3-ldap_r.patch
-# Make php_config.h constant across builds
-Patch46: php-7.0.0-fixheader.patch
# drop "Configure command" from phpinfo output
Patch47: php-5.6.3-phpinfo.patch
# Automatically load OpenSSL configuration file
@@ -889,7 +887,6 @@ support for JavaScript Object Notation (JSON) to PHP.
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
%patch45 -p1 -b .ldap_r
%endif
-%patch46 -p1 -b .fixheader
%patch47 -p1 -b .phpinfo
%patch48 -p1 -b .loadconf
@@ -1046,6 +1043,9 @@ exit 1
%build
%{?dtsenable}
+# Set build date from https://reproducible-builds.org/specs/source-date-epoch/
+export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
+
# aclocal workaround - to be improved
cat $(aclocal --print-ac-dir)/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4
@@ -1821,6 +1821,10 @@ fi
%changelog
+* Wed Jan 17 2018 Remi Collet <remi@remirepo.net> - 7.1.14~RC1-1
+- Update to 7.1.14RC1
+- define SOURCE_DATE_EPOCH for reproducible build
+
* Wed Jan 3 2018 Remi Collet <remi@remirepo.net> - 7.1.13-1
- Update to 7.1.13 - http://www.php.net/releases/7_1_13.php