diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-27 08:54:12 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-27 08:54:12 +0100 |
commit | 3405c86adb0e82f17ce998740bae196231f34ed2 (patch) | |
tree | bb22ed1f910aad0bc6e5243c6572970bc932f5b6 /uwsgi-plugin-php.spec | |
parent | fcfb5ebc606722ff055f28b271f25b7d2108b22c (diff) |
fix PHP 7.2 build
Diffstat (limited to 'uwsgi-plugin-php.spec')
-rw-r--r-- | uwsgi-plugin-php.spec | 13 |
1 files changed, 9 insertions, 4 deletions
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 <remi@remirepo.net> - 2.0.15-3 +- fix PHP 7.2 build + * Wed Aug 30 2017 Remi Collet <remi@remirepo.net> - 2.0.15-2 - fix F27 build |