From 65ed52a5ed4a2d2d7550f8c6850983a1ac0f70a2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Jan 2018 07:49:45 +0100 Subject: Update to 7.1.14RC1 define SOURCE_DATE_EPOCH for reproducible build --- php.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'php.spec') 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 - 7.1.14~RC1-1 +- Update to 7.1.14RC1 +- define SOURCE_DATE_EPOCH for reproducible build + * Wed Jan 3 2018 Remi Collet - 7.1.13-1 - Update to 7.1.13 - http://www.php.net/releases/7_1_13.php -- cgit