diff options
| -rw-r--r-- | php-pecl-sdl-mixer.spec | 10 | 
1 files changed, 8 insertions, 2 deletions
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 <remi@remirepo.net> - 0.3.0-2 +- fix dependencies +  * Mon Mar 14 2022 Remi Collet <remi@remirepo.net> - 0.3.0-1  - initial package  - open https://github.com/kea/php-sdl-mixer/pull/3  | 
