[mingw-SDL_mixer: 10/10] Use mingw macros without leading underscore

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 17:28:51 UTC 2012


commit c834dcba7ae6127c5cb4b8d0d254ba084189b65d
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Mar 7 19:26:27 2012 +0200

    Use mingw macros without leading underscore

 mingw-SDL_mixer.spec |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/mingw-SDL_mixer.spec b/mingw-SDL_mixer.spec
index 501854f..146f9e2 100644
--- a/mingw-SDL_mixer.spec
+++ b/mingw-SDL_mixer.spec
@@ -1,6 +1,6 @@
-%global __strip %{_mingw32_strip}
-%global __objdump %{_mingw32_objdump}
-%define __debug_install_post %{_mingw32_debug_install_post}
+%global __strip %{mingw32_strip}
+%global __objdump %{mingw32_objdump}
+%define __debug_install_post %{mingw32_debug_install_post}
 
 Name:           mingw-SDL_mixer
 Version:        1.2.11
@@ -26,7 +26,7 @@ A simple multi-channel audio mixer for SDL. It supports 4 channels of
 16 bit stereo audio, plus a single channel of music, mixed by the popular
 MikMod MOD library.
 
-%{_mingw32_description}
+%{mingw32_description}
 
 
 %package -n mingw32-SDL_mixer
@@ -38,17 +38,17 @@ A simple multi-channel audio mixer for SDL. It supports 4 channels of
 16 bit stereo audio, plus a single channel of music, mixed by the popular
 MikMod MOD library.
 
-%{_mingw32_description}
+%{mingw32_description}
 
 
 # Automatically create a debuginfo package
-%{?_mingw32_debug_package}
+%{?mingw32_debug_package}
 
 %prep
 %setup -q -n SDL_mixer-%{version}
 
 %build
-%{_mingw32_configure} \
+%{mingw32_configure} \
     --disable-dependency-tracking \
     --enable-music-mod \
     --disable-static
@@ -69,16 +69,17 @@ mv CHANGES.new CHANGES
 
 %files -n mingw32-SDL_mixer
 %doc README CHANGES COPYING
-%{_mingw32_bindir}/SDL_mixer.dll
-%{_mingw32_libdir}/libSDL_mixer.dll.a
-%{_mingw32_libdir}/pkgconfig/SDL_mixer.pc
-%{_mingw32_libdir}/libSDL_mixer.la
-%{_mingw32_includedir}/SDL
+%{mingw32_bindir}/SDL_mixer.dll
+%{mingw32_libdir}/libSDL_mixer.dll.a
+%{mingw32_libdir}/pkgconfig/SDL_mixer.pc
+%{mingw32_libdir}/libSDL_mixer.la
+%{mingw32_includedir}/SDL
 
 %changelog
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 1.2.11-6
 - Renamed the source package to mingw-SDL_mixer (#801027)
 - Modernize the spec file
+- Use mingw macros without leading underscore
 
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.2.11-5
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list