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

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 16:50:24 UTC 2012


commit 769ef0e96b4ba485fcafb7552edcd39afc5a3a7b
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Mar 7 18:48:46 2012 +0200

    Use mingw macros without leading underscore

 mingw-portablexdr.spec |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/mingw-portablexdr.spec b/mingw-portablexdr.spec
index 130118f..ffe4411 100644
--- a/mingw-portablexdr.spec
+++ b/mingw-portablexdr.spec
@@ -1,5 +1,5 @@
-%define __strip %{_mingw32_strip}
-%define __objdump %{_mingw32_objdump}
+%define __strip %{mingw32_strip}
+%define __objdump %{mingw32_objdump}
 
 Name:		mingw-portablexdr
 Version:	4.9.1
@@ -37,7 +37,7 @@ MinGW Windows PortableXDR XDR / RPC library.
 %patch0 -p1
 
 %build
-%{_mingw32_configure} --disable-static
+%{mingw32_configure} --disable-static
 make %{?_smp_flags}
 
 
@@ -47,17 +47,18 @@ make DESTDIR=$RPM_BUILD_ROOT install
 
 %files -n mingw32-portablexdr
 %doc COPYING.LIB
-%{_mingw32_bindir}/portable-rpcgen.exe
-%{_mingw32_bindir}/libportablexdr-0.dll
-%{_mingw32_libdir}/libportablexdr.dll.a
-%{_mingw32_libdir}/libportablexdr.la
-%{_mingw32_includedir}/rpc
+%{mingw32_bindir}/portable-rpcgen.exe
+%{mingw32_bindir}/libportablexdr-0.dll
+%{mingw32_libdir}/libportablexdr.dll.a
+%{mingw32_libdir}/libportablexdr.la
+%{mingw32_includedir}/rpc
 
 
 %changelog
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 4.9.1-6
 - Renamed the source package to mingw-portablexdr (#801016)
 - Modernize the spec file
+- Use mingw macros without leading underscore
 
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 4.9.1-5
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list