remove obsolete configure CFLAGS and LIBS causing module to crash with php [release 3.7.0-5mamba;Tue Jul 09 2024]
This commit is contained in:
parent
776c1ad987
commit
94cda6de23
@ -1,7 +1,7 @@
|
||||
%define php_majver %(php-config --version | cut -d. -f1-2)
|
||||
Name: php-imagick
|
||||
Version: 3.7.0
|
||||
Release: 4mamba
|
||||
Release: 5mamba
|
||||
Summary: PHP wrapper to the ImageMagick library
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -12,6 +12,7 @@ Source: https://pecl.php.net/get/imagick-%{version}.tgz
|
||||
License: PHP License
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libMagick-devel
|
||||
BuildRequires: libgomp-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: php-devel >= 8.3.1-1mamba
|
||||
@ -26,13 +27,15 @@ PHP wrapper to the ImageMagick library.
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}-%{version}
|
||||
# Ensure package version is set
|
||||
sed -e "s/@PACKAGE_VERSION@/%{version}/" -i imagick-%{version}/php_imagick.h package.xml
|
||||
|
||||
%build
|
||||
cd imagick-%{version}
|
||||
phpize
|
||||
|
||||
%configure \
|
||||
CFLAGS="%{optflags} `pkgconf MagickWand-7.Q16HDRI --cflags`"
|
||||
LIBS="`pkgconf MagickWand-7.Q16HDRI --libs`"
|
||||
CFLAGS="%{optflags}"
|
||||
|
||||
%make
|
||||
|
||||
@ -89,6 +92,9 @@ fi
|
||||
%{_libdir}/php/extensions/imagick.so
|
||||
|
||||
%changelog
|
||||
* Tue Jul 09 2024 Automatic Build System <autodist@openmamba.org> 3.7.0-5mamba
|
||||
- remove obsolete configure CFLAGS and LIBS causing module to crash with php
|
||||
|
||||
* Tue Jan 16 2024 Automatic Build System <autodist@mambasoft.it> 3.7.0-4mamba
|
||||
- rebuilt by autoport with build requirements: php-devel>=8.3.1-1mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user