From 3405c86adb0e82f17ce998740bae196231f34ed2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Feb 2018 08:54:12 +0100 Subject: fix PHP 7.2 build --- uwsgi-plugin-php.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'uwsgi-plugin-php.spec') diff --git a/uwsgi-plugin-php.spec b/uwsgi-plugin-php.spec index e792bd2..b47eecc 100644 --- a/uwsgi-plugin-php.spec +++ b/uwsgi-plugin-php.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for uwsgi-plugin-php # -# Copyright (c) 2017 Remi Collet +# Copyright (c) 2017-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -28,7 +28,7 @@ Requires: %{scl_prefix}php-embedded Name: %{?scl_prefix}%{project}-plugin-php Version: 2.0.15 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: uWSGI - Plugin for PHP support License: GPLv2 with exceptions URL: http://projects.unbit.it/uwsgi @@ -47,7 +47,9 @@ BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: zlib-devel -BuildRequires: python +BuildRequires: python2 +# workaround (missing from php-embedded +BuildRequires: libargon2-devel Requires: %{project}-plugin-common = %{version} @@ -89,7 +91,7 @@ export UWSGICONFIG_PHPDIR=%{_prefix} # for RPATH export UWSGICONFIG_PHPLIBDIR=%{_libdir} -python uwsgiconfig.py --verbose --plugin plugins/php default %{?scl} +python2 uwsgiconfig.py --verbose --plugin plugins/php default %{?scl} %install @@ -103,6 +105,9 @@ install -Dpm 755 %{?scl}%{!?scl:php}_plugin.so %{buildroot}%{_root_libdir}/%{pro %changelog +* Tue Feb 27 2018 Remi Collet - 2.0.15-3 +- fix PHP 7.2 build + * Wed Aug 30 2017 Remi Collet - 2.0.15-2 - fix F27 build -- cgit