summaryrefslogtreecommitdiffstats
path: root/php71.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php71.spec')
-rw-r--r--php71.spec16
1 files changed, 10 insertions, 6 deletions
diff --git a/php71.spec b/php71.spec
index b24111b..1eae6c7 100644
--- a/php71.spec
+++ b/php71.spec
@@ -107,13 +107,13 @@
%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: php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 3%{?dist}
+Release: 1%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -159,8 +159,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
@@ -1011,7 +1009,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
@@ -1174,6 +1171,9 @@ cat %{SOURCE1} %{SOURCE11} >httpd-php.conf
%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
@@ -2058,6 +2058,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
+
* Tue Jan 16 2018 Remi Collet <remi@remirepo.net> - 7.1.13-3
- rebuild for gdbm 1.13 (1.14 was reverted)