summaryrefslogtreecommitdiffstats
path: root/php-pecl-sdl-mixer.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-sdl-mixer.spec')
-rw-r--r--php-pecl-sdl-mixer.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/php-pecl-sdl-mixer.spec b/php-pecl-sdl-mixer.spec
index 82cf60b..78658eb 100644
--- a/php-pecl-sdl-mixer.spec
+++ b/php-pecl-sdl-mixer.spec
@@ -19,20 +19,18 @@
%global pecl_name sdl_mixer
# no ini file (loaded by phpsdl helper)
-%global upstream_version 0.3.0
+%global upstream_version 0.4.0
#global upstream_prever RC1
Summary: Binding of SDL_mixer for PHP
Name: %{?scl_prefix}php-pecl-sdl-mixer
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: zlib
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Patch0: %{pecl_name}-build.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.0
@@ -82,8 +80,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1
-
# Check version as upstream often forget to update this
extver=$(sed -n '/define PHP_SDL_MIXER_VERSION/{s/.* "//;s/".*$//;p}' src/php_sdl_mixer.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then
@@ -199,6 +195,10 @@ fi
%changelog
+* Tue Mar 15 2022 Remi Collet <remi@remirepo.net> - 0.4.0-1
+- update to 0.4.0
+- drop all patches, all merged upstream
+
* Mon Mar 14 2022 Remi Collet <remi@remirepo.net> - 0.3.0-2
- fix dependencies