avatar
alex has added c5abe35216
update to 7.1.14-1
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,2 @@
1 1
sources:
2
  "php-7.1.5.tar.bz2": cf46b42bfd14ab77eabb6ecb535a08348e93db28
2
  php-7.1.14.tar.bz2: a189b48cddd3f658d7cf09559f9eb98b57e29169
view file @ 6879e4deb5
... ... --- a/php-5.4.9-fixheader.patch
... ... +++ /dev/null
... ... @@ -1,23 +0,0 @@
0
1
Make generated php_config.h constant across rebuilds.
2
3
--- php-5.4.9/configure.in.fixheader
4
+++ php-5.4.9/configure.in
5
@@ -1258,7 +1258,7 @@ fi
6
 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
7
 EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
8
 
9
-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
10
+PHP_BUILD_DATE=`date '+%Y-%m-%d' -r $srcdir/NEWS`
11
 AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
12
 
13
 case $host_alias in
14
@@ -1269,7 +1269,7 @@ case $host_alias in
15
   AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[hardcode for each of the cross compiler host])
16
   ;;
17
 *)
18
-  PHP_UNAME=`uname -a | xargs`
19
+  PHP_UNAME=`uname | xargs`
20
   AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
21
   PHP_OS=`uname | xargs`
22
   AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
... ... --- a/php71.spec
... ... +++ b/php71.spec
... ... @@ -111,7 +111,7 @@ Name: %{?scl_prefix}php
111 111
%else
112 112
Name: php71w
113 113
%endif
114
Version: 7.1.5
114
Version: 7.1.14
115 115
Release: 1%{?rcver:.%{rcver}}%{?dist}
116 116
# All files licensed under PHP version 3.01, except
117 117
# Zend is licensed under Zend
... ... @@ -150,8 +150,6 @@ Patch42: php-7.1.0-systzdata-v14.patch
150 150
Patch43: php-5.4.0-phpize.patch
151 151
# Use -lldap_r for OpenLDAP
152 152
Patch45: php-5.4.8-ldap_r.patch
153
# Make php_config.h constant across builds
154
Patch46: php-5.4.9-fixheader.patch
155 153
# drop "Configure command" from phpinfo output
156 154
Patch47: php-5.4.9-phpinfo.patch
157 155
Patch48: php-5.5.0-icuconfig.patch
... ... @@ -1006,7 +1004,6 @@ support for using the enchant library to PHP.
1004 1004
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
1005 1005
%patch45 -p1 -b .ldap_r
1006 1006
%endif
1007
%patch46 -p1 -b .fixheader
1008 1007
%patch47 -p1 -b .phpinfo
1009 1008
%patch48 -p1 -b .icuconfig
1010 1009
%if 0%{?rhel} >= 6
... ... @@ -1124,6 +1121,9 @@ echo "d %{_localstatedir}/run/php-fpm 755 root root" >php-fpm.tmpfiles
1121 1121
cp -f /usr/lib/rpm/config.{guess,sub} .
1122 1122
1123 1123
%build
1124
# Set build date from https://reproducible-builds.org/specs/source-date-epoch/
1125
export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
1126
1124 1127
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
1125 1128
# aclocal workaround - to be improved
1126 1129
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4
... ... @@ -1910,6 +1910,43 @@ fi
1910 1910
%files mysqlnd -f files.mysqlnd
1911 1911
1912 1912
%changelog
1913
* Sun Feb 04 2018 Andy Thompson <andy@webtatic.com> - 7.1.14-1
1914
- update to php-7.1.14
1915
- replace patch46 with SOURCE_DATE_EPOCH
1916
1917
* Sun Jan 14 2018 Andy Thompson <andy@webtatic.com> - 7.1.13-1
1918
- update to php-7.1.13
1919
1920
* Sat Nov 25 2017 Andy Thompson <andy@webtatic.com> - 7.1.12-1
1921
- update to php-7.1.12
1922
1923
* Sun Oct 29 2017 Andy Thompson <andy@webtatic.com> - 7.1.11-1
1924
- update to php-7.1.11
1925
1926
* Sat Sep 30 2017 Andy Thompson <andy@webtatic.com> - 7.1.10-1
1927
- update to php-7.1.10
1928
- remove patch fixed upstream
1929
1930
* Thu Sep 14 2017 Andy Thompson <andy@webtatic.com> - 7.1.9-2
1931
- add patch for sqlite3_errstr fix correction
1932
- rebuild for EL7.4
1933
1934
* Thu Aug 31 2017 Andy Thompson <andy@webtatic.com> - 7.1.9-1
1935
- update to php-7.1.9
1936
- remove patch fixed upstream
1937
1938
* Wed Aug 09 2017 Andy Thompson <andy@webtatic.com> - 7.1.8-2
1939
- add patch for missing sqlite3_errstr function
1940
1941
* Sat Aug 05 2017 Andy Thompson <andy@webtatic.com> - 7.1.8-1
1942
- update to php-7.1.8
1943
1944
* Thu Jul 06 2017 Andy Thompson <andy@webtatic.com> - 7.1.7-1
1945
- update to php-7.1.7
1946
1947
* Sat Jun 10 2017 Andy Thompson <andy@webtatic.com> - 7.1.6-1
1948
- update to php-7.1.6
1949
1913 1950
* Thu May 11 2017 Andy Thompson <andy@webtatic.com> - 7.1.5-1
1914 1951
- update to php-7.1.5
1915 1952

Comments