[mingw-atkmm: 14/14] Use mingw macros without leading underscore

epienbro epienbro at fedoraproject.org
Wed Mar 7 15:28:38 UTC 2012


commit 756eac43e40e0cbf94d9a0094e2d2ab30c44ffd5
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Wed Mar 7 16:27:22 2012 +0100

    Use mingw macros without leading underscore

 mingw-atkmm.spec |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/mingw-atkmm.spec b/mingw-atkmm.spec
index 91a2206..1f3af16 100644
--- a/mingw-atkmm.spec
+++ b/mingw-atkmm.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-atkmm
 Version:        2.22.6
@@ -44,7 +44,7 @@ comprehensive set of widget classes that can be freely combined to
 quickly create complex user interfaces.
 
 
-%{?_mingw32_debug_package}
+%{?mingw32_debug_package}
 
 
 %prep
@@ -52,27 +52,28 @@ quickly create complex user interfaces.
 
 
 %build
-%{_mingw32_configure} --disable-static --disable-documentation
+%{mingw32_configure} --disable-static --disable-documentation
 make %{?_smp_mflags}
 
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
-rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
 
 
 %files -n mingw32-atkmm
 %doc COPYING
-%{_mingw32_includedir}/atkmm-1.6
-%{_mingw32_libdir}/atkmm-1.6
-%{_mingw32_libdir}/pkgconfig/atkmm-1.6.pc
-%{_mingw32_libdir}/libatkmm-1.6.dll.a
-%{_mingw32_bindir}/libatkmm-1.6-1.dll
+%{mingw32_includedir}/atkmm-1.6
+%{mingw32_libdir}/atkmm-1.6
+%{mingw32_libdir}/pkgconfig/atkmm-1.6.pc
+%{mingw32_libdir}/libatkmm-1.6.dll.a
+%{mingw32_bindir}/libatkmm-1.6-1.dll
 
 
 %changelog
 * Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.22.6-2
 - Renamed the source package to mingw-atkmm (RHBZ #800844)
+- Use mingw macros without leading underscore
 
 * Tue Feb 28 2012 Kalev Lember <kalevlember at gmail.com> - 2.22.6-1
 - Update to 2.22.6


More information about the scm-commits mailing list