From 66950bf393484cd892d47f5625467f8a0ea1f12b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 14 Mar 2022 14:13:41 +0100 Subject: fix dependencies --- php-pecl-sdl-mixer.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'php-pecl-sdl-mixer.spec') diff --git a/php-pecl-sdl-mixer.spec b/php-pecl-sdl-mixer.spec index 4405678..82cf60b 100644 --- a/php-pecl-sdl-mixer.spec +++ b/php-pecl-sdl-mixer.spec @@ -25,7 +25,7 @@ Summary: Binding of SDL_mixer for PHP Name: %{?scl_prefix}php-pecl-sdl-mixer Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -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;')}} License: zlib URL: https://pecl.php.net/package/%{pecl_name} @@ -42,7 +42,10 @@ BuildRequires: SDL2_mixer-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} -BuildRequires: %{?scl_prefix}php-sdl%{?_isa} >= 2.5.0 +Requires: %{?scl_prefix}php-sdl%{?_isa} >= 2.5.0 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Supplements: %{?scl_prefix}php-sdl%{?_isa} +%endif %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-%{pecl_name} = %{version} @@ -196,6 +199,9 @@ fi %changelog +* Mon Mar 14 2022 Remi Collet - 0.3.0-2 +- fix dependencies + * Mon Mar 14 2022 Remi Collet - 0.3.0-1 - initial package - open https://github.com/kea/php-sdl-mixer/pull/3 -- cgit