From fcfb5ebc606722ff055f28b271f25b7d2108b22c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Aug 2017 17:12:35 +0200 Subject: fix f27 build --- uwsgi-plugin-php.spec | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'uwsgi-plugin-php.spec') diff --git a/uwsgi-plugin-php.spec b/uwsgi-plugin-php.spec index 6546f80..e792bd2 100644 --- a/uwsgi-plugin-php.spec +++ b/uwsgi-plugin-php.spec @@ -8,6 +8,7 @@ # %global project uwsgi +%undefine _debugsource_packages # Disable RPATH check %global __arch_install_post /bin/true @@ -27,7 +28,7 @@ Requires: %{scl_prefix}php-embedded Name: %{?scl_prefix}%{project}-plugin-php Version: 2.0.15 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?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 @@ -50,6 +51,22 @@ BuildRequires: python Requires: %{project}-plugin-common = %{version} +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +# Other third party repo stuff +%if "%{php_version}" > "5.6" +Obsoletes: %{project}-plugin-php56u <= %{version} +%endif +%if "%{php_version}" > "7.0" +Obsoletes: %{project}-plugin-php70u <= %{version} +%endif +%if "%{php_version}" > "7.1" +Obsoletes: %{project}-plugin-php71u <= %{version} +%endif +%if "%{php_version}" > "7.2" +Obsoletes: %{project}-plugin-php72u <= %{version} +%endif +%endif + %description This package contains the PHP plugin for uWSGI, @@ -86,5 +103,8 @@ install -Dpm 755 %{?scl}%{!?scl:php}_plugin.so %{buildroot}%{_root_libdir}/%{pro %changelog +* Wed Aug 30 2017 Remi Collet - 2.0.15-2 +- fix F27 build + * Wed Jun 21 2017 Remi Collet - 2.0.15-1 - initial package -- cgit