rebuild for new tag and drop patch merged upstream

drop ldconfig scriptlets
This commit is contained in:
Remi Collet 2018-02-15 09:12:44 +01:00
parent e6a28de55e
commit 7b31e9167c
2 changed files with 5 additions and 68 deletions

View File

@ -1,30 +0,0 @@
From 528bc00d84cce18d74528677c156d6aec1b7fcd9 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@php.net>
Date: Wed, 14 Feb 2018 08:59:24 +0100
Subject: [PATCH] Fix timezone var_dump from
51f2a5803fa4f09e212fed4b14ab8b4a003d4ef5
---
ext/date/php_date.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 82ac9a6..2df19f7 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -2422,9 +2422,9 @@ static HashTable *date_object_get_debug_info_timezone(zval *object, int *is_temp
zend_string *tmpstr = zend_string_alloc(sizeof("UTC+05:00")-1, 0);
ZSTR_LEN(tmpstr) = snprintf(ZSTR_VAL(tmpstr), sizeof("+05:00"), "%c%02d:%02d",
- tzobj->tzi.utc_offset > 0 ? '-' : '+',
- abs(tzobj->tzi.utc_offset / 60),
- abs((tzobj->tzi.utc_offset % 60)));
+ tzobj->tzi.utc_offset < 0 ? '-' : '+',
+ abs((int)(tzobj->tzi.utc_offset / 3600)),
+ abs(((int)(tzobj->tzi.utc_offset % 3600) / 60)));
ZVAL_NEW_STR(&zv, tmpstr);
}
--
2.1.4

View File

@ -66,14 +66,13 @@
Summary: PHP scripting language for creating dynamic web sites Summary: PHP scripting language for creating dynamic web sites
Name: php Name: php
Version: %{upver}%{?rcver:~%{rcver}} Version: %{upver}%{?rcver:~%{rcver}}
Release: 1%{?dist} Release: 2%{?dist}
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# Zend is licensed under Zend # Zend is licensed under Zend
# TSRM is licensed under BSD # TSRM is licensed under BSD
# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0 # main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
# ext/date/lib is MIT # ext/date/lib is MIT
License: PHP and Zend and BSD and MIT and ASL 1.0 License: PHP and Zend and BSD and MIT and ASL 1.0
Group: Development/Languages
URL: http://www.php.net/ URL: http://www.php.net/
Source0: http://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz Source0: http://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz
@ -113,7 +112,6 @@ Patch46: php-7.2.3-fixheader.patch
Patch47: php-5.6.3-phpinfo.patch Patch47: php-5.6.3-phpinfo.patch
# Upstream fixes (100+) # Upstream fixes (100+)
Patch100: php-upstream.patch
# Security fixes (200+) # Security fixes (200+)
@ -171,7 +169,6 @@ The php package contains the module (often referred to as mod_php)
which adds support for the PHP language to Apache HTTP Server. which adds support for the PHP language to Apache HTTP Server.
%package cli %package cli
Group: Development/Languages
Summary: Command-line interface for PHP Summary: Command-line interface for PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Provides: php-cgi = %{version}-%{release}, php-cgi%{?_isa} = %{version}-%{release} Provides: php-cgi = %{version}-%{release}, php-cgi%{?_isa} = %{version}-%{release}
@ -184,7 +181,6 @@ executing PHP scripts, /usr/bin/php, and the CGI interface.
%package dbg %package dbg
Group: Development/Languages
Summary: The interactive PHP debugger Summary: The interactive PHP debugger
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -193,7 +189,6 @@ The php-dbg package contains the interactive PHP debugger.
%package fpm %package fpm
Group: Development/Languages
Summary: PHP FastCGI Process Manager Summary: PHP FastCGI Process Manager
BuildRequires: libacl-devel BuildRequires: libacl-devel
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -216,7 +211,6 @@ implementation with some additional features useful for sites of
any size, especially busier sites. any size, especially busier sites.
%package common %package common
Group: Development/Languages
Summary: Common files for PHP Summary: Common files for PHP
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# fileinfo is licensed under PHP version 3.0 # fileinfo is licensed under PHP version 3.0
@ -266,7 +260,6 @@ The php-common package contains files used by both the php
package and the php-cli package. package and the php-cli package.
%package devel %package devel
Group: Development/Libraries
Summary: Files needed for building PHP extensions Summary: Files needed for building PHP extensions
Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake
Requires: pcre-devel%{?_isa} Requires: pcre-devel%{?_isa}
@ -284,7 +277,6 @@ need to install this package.
%package opcache %package opcache
Summary: The Zend OPcache Summary: The Zend OPcache
Group: Development/Languages
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Provides: php-pecl-zendopcache = %{version} Provides: php-pecl-zendopcache = %{version}
@ -302,7 +294,6 @@ bytecode optimization patterns that make code execution faster.
%if %{with_imap} %if %{with_imap}
%package imap %package imap
Summary: A module for PHP applications that use IMAP Summary: A module for PHP applications that use IMAP
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -316,7 +307,6 @@ messages on mail servers. PHP is an HTML-embedded scripting language.
%package ldap %package ldap
Summary: A module for PHP applications that use LDAP Summary: A module for PHP applications that use LDAP
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -330,7 +320,6 @@ language.
%package pdo %package pdo
Summary: A database access abstraction module for PHP applications Summary: A database access abstraction module for PHP applications
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -348,7 +337,6 @@ databases.
%package mysqlnd %package mysqlnd
Summary: A module for PHP applications that use MySQL databases Summary: A module for PHP applications that use MySQL databases
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
@ -368,7 +356,6 @@ This package use the MySQL Native Driver
%package pgsql %package pgsql
Summary: A PostgreSQL database module for PHP Summary: A PostgreSQL database module for PHP
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
@ -386,7 +373,6 @@ php package.
%package process %package process
Summary: Modules for PHP script using system process interfaces Summary: Modules for PHP script using system process interfaces
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -403,7 +389,6 @@ communication.
%package odbc %package odbc
Summary: A module for PHP applications that use ODBC databases Summary: A module for PHP applications that use ODBC databases
Group: Development/Languages
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# pdo_odbc is licensed under PHP version 3.0 # pdo_odbc is licensed under PHP version 3.0
License: PHP License: PHP
@ -423,7 +408,6 @@ package.
%package soap %package soap
Summary: A module for PHP applications that use the SOAP protocol Summary: A module for PHP applications that use the SOAP protocol
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -436,7 +420,6 @@ support to PHP for using the SOAP web services protocol.
%if %{with_firebird} %if %{with_firebird}
%package interbase %package interbase
Summary: A module for PHP applications that use Interbase/Firebird databases Summary: A module for PHP applications that use Interbase/Firebird databases
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
# for fb_config command # for fb_config command
@ -462,7 +445,6 @@ License.
%package snmp %package snmp
Summary: A module for PHP applications that query SNMP-managed devices Summary: A module for PHP applications that query SNMP-managed devices
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp
@ -476,7 +458,6 @@ will need to install this package and the php package.
%package xml %package xml
Summary: A module for PHP applications which use XML Summary: A module for PHP applications which use XML
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -496,7 +477,6 @@ and performing XSL transformations on XML documents.
%package xmlrpc %package xmlrpc
Summary: A module for PHP applications which use the XML-RPC protocol Summary: A module for PHP applications which use the XML-RPC protocol
Group: Development/Languages
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# libXMLRPC is licensed under BSD # libXMLRPC is licensed under BSD
License: PHP and BSD License: PHP and BSD
@ -508,7 +488,6 @@ support for the XML-RPC protocol to PHP.
%package mbstring %package mbstring
Summary: A module for PHP applications which need multi-byte string handling Summary: A module for PHP applications which need multi-byte string handling
Group: Development/Languages
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# libmbfl is licensed under LGPLv2 # libmbfl is licensed under LGPLv2
# ucgendat is licensed under OpenLDAP # ucgendat is licensed under OpenLDAP
@ -523,7 +502,6 @@ support for multi-byte string handling to PHP.
%package gd %package gd
Summary: A module for PHP applications for using the gd graphics library Summary: A module for PHP applications for using the gd graphics library
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
%if %{with_libgd} %if %{with_libgd}
License: PHP License: PHP
@ -550,7 +528,6 @@ support for using the gd graphics library to PHP.
%package bcmath %package bcmath
Summary: A module for PHP applications for using the bcmath library Summary: A module for PHP applications for using the bcmath library
Group: Development/Languages
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# libbcmath is licensed under LGPLv2+ # libbcmath is licensed under LGPLv2+
License: PHP and LGPLv2+ License: PHP and LGPLv2+
@ -562,7 +539,6 @@ support for using the bcmath library to PHP.
%package gmp %package gmp
Summary: A module for PHP applications for using the GNU MP library Summary: A module for PHP applications for using the GNU MP library
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
BuildRequires: gmp-devel BuildRequires: gmp-devel
@ -574,7 +550,6 @@ using the GNU MP library.
%package dba %package dba
Summary: A database abstraction layer module for PHP applications Summary: A database abstraction layer module for PHP applications
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
BuildRequires: libdb-devel BuildRequires: libdb-devel
@ -588,7 +563,6 @@ support for using the DBA database abstraction layer to PHP.
%package tidy %package tidy
Summary: Standard PHP module provides tidy library support Summary: Standard PHP module provides tidy library support
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -601,7 +575,6 @@ support for using the tidy library to PHP.
%if %{with_freetds} %if %{with_freetds}
%package pdo-dblib %package pdo-dblib
Summary: PDO driver Microsoft SQL Server and Sybase databases Summary: PDO driver Microsoft SQL Server and Sybase databases
Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
@ -616,7 +589,6 @@ PHP to Microsoft SQL Server and Sybase databases through the FreeTDS libary.
%package embedded %package embedded
Summary: PHP library for embedding in applications Summary: PHP library for embedding in applications
Group: System Environment/Libraries
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
# doing a real -devel package for just the .so symlink is a bit overkill # doing a real -devel package for just the .so symlink is a bit overkill
Provides: php-embedded-devel = %{version}-%{release} Provides: php-embedded-devel = %{version}-%{release}
@ -628,7 +600,6 @@ into applications to provide PHP scripting language support.
%package pspell %package pspell
Summary: A module for PHP applications for using pspell interfaces Summary: A module for PHP applications for using pspell interfaces
Group: System Environment/Libraries
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -640,7 +611,6 @@ support for using the pspell library to PHP.
%package recode %package recode
Summary: A module for PHP applications for using the recode library Summary: A module for PHP applications for using the recode library
Group: System Environment/Libraries
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -652,7 +622,6 @@ support for using the recode library to PHP.
%package intl %package intl
Summary: Internationalization extension for PHP applications Summary: Internationalization extension for PHP applications
Group: System Environment/Libraries
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -664,7 +633,6 @@ support for using the ICU library to PHP.
%package enchant %package enchant
Summary: Enchant spelling extension for PHP applications Summary: Enchant spelling extension for PHP applications
Group: System Environment/Libraries
# All files licensed under PHP version 3.0 # All files licensed under PHP version 3.0
License: PHP License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -678,7 +646,6 @@ support for using the enchant library to PHP.
Summary: JavaScript Object Notation extension for PHP Summary: JavaScript Object Notation extension for PHP
# All files licensed under PHP version 3.0.1 # All files licensed under PHP version 3.0.1
License: PHP License: PHP
Group: System Environment/Libraries
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Obsoletes: php-pecl-json < %{jsonver} Obsoletes: php-pecl-json < %{jsonver}
Obsoletes: php-pecl-jsonc < %{jsonver} Obsoletes: php-pecl-jsonc < %{jsonver}
@ -696,7 +663,6 @@ support for JavaScript Object Notation (JSON) to PHP.
Summary: Wrapper for the Sodium cryptographic library Summary: Wrapper for the Sodium cryptographic library
# All files licensed under PHP version 3.0.1 # All files licensed under PHP version 3.0.1
License: PHP License: PHP
Group: System Environment/Libraries
BuildRequires: pkgconfig(libsodium) >= 1.0.9 BuildRequires: pkgconfig(libsodium) >= 1.0.9
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
@ -729,7 +695,6 @@ low-level PHP extension for the libsodium cryptographic library.
%patch47 -p1 -b .phpinfo %patch47 -p1 -b .phpinfo
# upstream patches # upstream patches
%patch100 -p1 -b .upstream
# security patches # security patches
@ -1402,8 +1367,6 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%postun fpm %postun fpm
%systemd_postun_with_restart php-fpm.service %systemd_postun_with_restart php-fpm.service
%post embedded -p /sbin/ldconfig
%postun embedded -p /sbin/ldconfig
%files %files
%{_httpd_moddir}/libphp7.so %{_httpd_moddir}/libphp7.so
@ -1558,6 +1521,10 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%changelog %changelog
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-2
- rebuild for new tag and drop patch merged upstream
- drop ldconfig scriptlets
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-1 * Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-1
- update to 7.2.3RC1 - update to 7.2.3RC1
- adapt systzdata, fixheader and ldap_r patches - adapt systzdata, fixheader and ldap_r patches