[mingw-sigar: 12/12] Use mingw macros without leading underscore

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 17:39:47 UTC 2012


commit ae7bd60186a7e4862bd618994920d4c111e4dba6
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Mar 7 19:37:34 2012 +0200

    Use mingw macros without leading underscore

 mingw-sigar.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/mingw-sigar.spec b/mingw-sigar.spec
index dd65d38..856dab0 100644
--- a/mingw-sigar.spec
+++ b/mingw-sigar.spec
@@ -1,5 +1,5 @@
-%global __strip %{_mingw32_strip}
-%global __objdump %{_mingw32_objdump}
+%global __strip %{mingw32_strip}
+%global __objdump %{mingw32_objdump}
 
 %global shortname sigar
 
@@ -77,11 +77,11 @@ API to access this information regardless of the underlying platform.
 %setup -q -n %{shortname}-%{version}
 
 %build
-PATH=%{_mingw32_bindir}:$PATH
+PATH=%{mingw32_bindir}:$PATH
 
 mkdir build
 pushd build
-%{_mingw32_cmake} ..
+%{mingw32_cmake} ..
 make %{?_smp_mflags}
 popd
 
@@ -92,14 +92,15 @@ popd
 
 %files -n mingw32-%{shortname}
 %doc ChangeLog README LICENSE NOTICE AUTHORS
-%{_mingw32_bindir}/libsigar.dll
-%{_mingw32_libdir}/libsigar.dll.a
-%{_mingw32_includedir}/sigar*.h
+%{mingw32_bindir}/libsigar.dll
+%{mingw32_libdir}/libsigar.dll.a
+%{mingw32_includedir}/sigar*.h
 
 %changelog
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 1.6.5-0.8.git58097d9
 - Renamed the source package to mingw-sigar (#801029)
 - Modernize the spec file
+- Use mingw macros without leading underscore
 
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.6.5-0.7.git58097d9
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list