summaryrefslogtreecommitdiffstats
path: root/php72.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-16 13:37:25 +0100
committerRemi Collet <remi@remirepo.net>2018-01-16 13:37:25 +0100
commit7c2c18a4ee1ef2175d50fe299a3a97ccf9f89f62 (patch)
treeb3b5a0187c865aad283fecd4038c44e84d156f84 /php72.spec
parentddc1347ec42e881716aa4be8c49f35bd5028b56a (diff)
v7.2.2RC1
Diffstat (limited to 'php72.spec')
-rw-r--r--php72.spec19
1 files changed, 12 insertions, 7 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 7.2.1-2
- rebuild for gdbm 1.14 BC break (see rhbz#1532997)