Hello community, here is the log from the commit of package php7-imagick for openSUSE:Factory checked in at 2018-03-08 10:58:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php7-imagick (Old) and /work/SRC/openSUSE:Factory/.php7-imagick.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php7-imagick" Thu Mar 8 10:58:35 2018 rev:3 rq:583868 version:3.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/php7-imagick/php7-imagick.changes 2017-07-12 19:35:41.994942668 +0200 +++ /work/SRC/openSUSE:Factory/.php7-imagick.new/php7-imagick.changes 2018-03-08 10:58:40.154798751 +0100 @@ -1,0 +2,9 @@ +Tue Mar 6 18:25:49 UTC 2018 - crrodrig...@opensuse.org + +- remove double ./configure and build +- imagick-reproducible.patch: We only care if ImageMagick + is binary compatible, not about what version the extension + is compiled against, which changes on every minor + revision. + +------------------------------------------------------------------- New: ---- imagick-reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php7-imagick.spec ++++++ --- /var/tmp/diff_new_pack.7iZNnm/_old 2018-03-08 10:58:40.950769980 +0100 +++ /var/tmp/diff_new_pack.7iZNnm/_new 2018-03-08 10:58:40.950769980 +0100 @@ -1,7 +1,7 @@ # # spec file for package php7-imagick # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,6 +38,7 @@ %else %requires_eq %{php_name} %endif +Patch0: imagick-reproducible.patch %description PHP extension to create, modify and obtain meta information of images using @@ -45,6 +46,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +%patch0 -p1 mkdir %{name} %build @@ -52,10 +54,6 @@ %configure --with-%{pkg_name}=%{_usr} make %{?_smp_mflags} -%{__phpize} -%configure --with-%{pkg_name} -make %{?_smp_mflags} - %check make %{?_smp_mflags} PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test ++++++ imagick-reproducible.patch ++++++ Index: imagick-3.4.3/imagick.c =================================================================== --- imagick-3.4.3.orig/imagick.c +++ imagick-3.4.3/imagick.c @@ -3698,10 +3698,11 @@ PHP_MINIT_FUNCTION(imagick) #endif REGISTER_INI_ENTRIES(); - +#if 0 if (!IMAGICK_G(skip_version_check)) { checkImagickVersion(); } +#endif return SUCCESS; } @@ -3734,7 +3735,7 @@ PHP_MINFO_FUNCTION(imagick) #else php_info_print_table_row(2, "imagick classes", "Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator"); #endif -#ifdef MagickVersion +#if 0 php_info_print_table_row(2, "Imagick compiled with ImageMagick version", MagickVersion); #endif php_info_print_table_row(2, "Imagick using ImageMagick library version", MagickGetVersion(&version_number));