Topic: zipver should be 1.13.2 in php-7.0.5-1 spec file

I just downloaded php 7.0.5-1 source rpm, set '%global with_zip 1' and rebuild:

Error: Upstream ZIP version is now 1.3.2, expecting 1.3.0.
Update the 1.3.0 macro and rebuild.

in the php70.spec:
%global zipver      1.13.0

in the upstream ext/zip/php_zip.h
#define PHP_ZIP_VERSION  1.13.2

Re: zipver should be 1.13.2 in php-7.0.5-1 spec file

Not a bug, as I prefer to build "without" zip extension (provided separately in php-pecl-zip package)

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: zipver should be 1.13.2 in php-7.0.5-1 spec file

BTW, why do you want to rebuild and not simply use the available RPM ?

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: zipver should be 1.13.2 in php-7.0.5-1 spec file

Remi wrote:

BTW, why do you want to rebuild and not simply use the available RPM ?

Thank you for providing latest php 7 package (plus source spec)! I am an Ops running several hundreds of php 7 nodes.

In my case, I have to change libgd/zip setting due to historic code... I have been pushing the Devs to revise the code, but it takes time sad I will keep push to move to your available RPMs.

Re: zipver should be 1.13.2 in php-7.0.5-1 spec file

Another reason is, compile with gcc 4.8 and above, php7 will open "Global Register for opline and execute_data" feature, which lead to about 5% performance improvement.
My servers are running CentOS 6 with gcc 4.4.7, so I simply rebuild php 7.0 with scl devtoolset-3 (gcc 4.9.2).

Re: zipver should be 1.13.2 in php-7.0.5-1 spec file

interesting (the SCL usage)...

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70