diff options
| -rw-r--r-- | uwsgi-plugin-php.spec | 22 | 
1 files changed, 21 insertions, 1 deletions
| 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 <remi@remirepo.net> - 2.0.15-2 +- fix F27 build +  * Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 2.0.15-1  - initial package | 
