From 7c2c18a4ee1ef2175d50fe299a3a97ccf9f89f62 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Jan 2018 13:37:25 +0100 Subject: v7.2.2RC1 --- php72.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'php72.spec') diff --git a/php72.spec b/php72.spec index e0af4cb..1302dac 100644 --- a/php72.spec +++ b/php72.spec @@ -111,13 +111,13 @@ %global db_devel libdb-devel %endif -%global upver 7.2.1 -#global rcver RC1 +%global upver 7.2.2 +%global rcver RC1 Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 2%{?dist} +Release: 1%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -164,7 +164,7 @@ 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.2.0-fixheader.patch +Patch46: php-7.2.2-fixheader.patch # drop "Configure command" from phpinfo output Patch47: php-5.6.3-phpinfo.patch @@ -849,7 +849,6 @@ Group: Development/Languages License: PHP BuildRequires: %{db_devel} BuildRequires: tokyocabinet-devel -BuildRequires: gdbm-devel BuildRequires: lmdb-devel Requires: php-common%{?_isa} = %{version}-%{release} %if 0%{?rhel} @@ -1226,6 +1225,9 @@ fi %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 @@ -1346,7 +1348,6 @@ build --libdir=%{_libdir}/php \ --with-bz2=shared \ --enable-ctype=shared \ --enable-dba=shared --with-db4=%{_prefix} \ - --with-gdbm=%{_prefix} \ --with-tcadb=%{_prefix} \ --with-lmdb=%{_prefix} \ --enable-exif=shared \ @@ -1498,7 +1499,6 @@ build --includedir=%{_includedir}/php-zts \ --with-bz2=shared \ --enable-ctype=shared \ --enable-dba=shared --with-db4=%{_prefix} \ - --with-gdbm=%{_prefix} \ --with-tcadb=%{_prefix} \ --with-lmdb=%{_prefix} \ --with-gettext=shared \ @@ -2123,6 +2123,11 @@ fi %changelog +* Tue Jan 16 2018 Remi Collet - 7.2.2~RC1-1 +- update to 7.2.2RC1 +- define SOURCE_DATE_EPOCH for reproducible build +- dba: drop gdbm support + * Wed Jan 10 2018 Remi Collet - 7.2.1-2 - rebuild for gdbm 1.14 BC break (see rhbz#1532997) -- cgit