[mingw-libglademm24: 17/17] Use mingw macros without leading underscore

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:02:59 UTC 2012


commit 73473c66e71d5de992bef67121bc52d2fbb4b934
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Wed Mar 7 20:01:30 2012 +0100

    Use mingw macros without leading underscore

 mingw-libglademm24.spec |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/mingw-libglademm24.spec b/mingw-libglademm24.spec
index d01acb7..09ca30b 100644
--- a/mingw-libglademm24.spec
+++ b/mingw-libglademm24.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-libglademm24
 Version:        2.6.7
@@ -40,7 +40,7 @@ interface for C++ programmers to create Gnome GUIs with GTK+'s
 flexible object-oriented framework.
 
 
-%{?_mingw32_debug_package}
+%{?mingw32_debug_package}
 
 
 %prep
@@ -48,28 +48,29 @@ flexible object-oriented framework.
 
 
 %build
-%{_mingw32_configure} --disable-static
+%{mingw32_configure} --disable-static
 make %{?_smp_mflags}
 
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
-rm -rf ${RPM_BUILD_ROOT}%{_mingw32_docdir}/gnomemm-2.6/libglademm-2.4/*
-rm -f ${RPM_BUILD_ROOT}%{_mingw32_datadir}/devhelp/books/libglademm-2.4/*
-rm -f ${RPM_BUILD_ROOT}%{_mingw32_libdir}/*.la
+rm -rf ${RPM_BUILD_ROOT}%{mingw32_docdir}/gnomemm-2.6/libglademm-2.4/*
+rm -f ${RPM_BUILD_ROOT}%{mingw32_datadir}/devhelp/books/libglademm-2.4/*
+rm -f ${RPM_BUILD_ROOT}%{mingw32_libdir}/*.la
 
 
 %files -n mingw32-libglademm24
 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
-%{_mingw32_bindir}/libglademm-2.4-1.dll
-%{_mingw32_includedir}/libglademm-2.4
-%{_mingw32_libdir}/libglademm-2.4.dll.a
-%{_mingw32_libdir}/libglademm-2.4
-%{_mingw32_libdir}/pkgconfig/*.pc
+%{mingw32_bindir}/libglademm-2.4-1.dll
+%{mingw32_includedir}/libglademm-2.4
+%{mingw32_libdir}/libglademm-2.4.dll.a
+%{mingw32_libdir}/libglademm-2.4
+%{mingw32_libdir}/pkgconfig/*.pc
 
 %changelog
 * Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.6.7-15
 - Renamed the source package to mingw-libglademm24 (RHBZ #800910)
+- Use mingw macros without leading underscore
 
 * Tue Feb 28 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.6.7-14
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list