diff --git a/mingw-srvany.spec b/mingw-srvany.spec index 1290b84..542ae74 100644 --- a/mingw-srvany.spec +++ b/mingw-srvany.spec @@ -1,5 +1,5 @@ -%define __strip %{_mingw32_strip} -%define __objdump %{_mingw32_objdump} +%define __strip %{mingw32_strip} +%define __objdump %{mingw32_objdump} %global upstream_version 31b3bf3 @@ -37,14 +37,14 @@ Utility for creating a service from any MinGW Windows binary %build autoreconf -i -%{_mingw32_configure} +%{mingw32_configure} make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install %files -n mingw32-srvany -%{_mingw32_bindir}/srvany.exe +%{mingw32_bindir}/srvany.exe %doc COPYING %doc AUTHORS @@ -52,6 +52,7 @@ make DESTDIR=$RPM_BUILD_ROOT install * Wed Mar 07 2012 Kalev Lember - 1.0-8 - Renamed the source package to mingw-srvany (#801031) - Modernize the spec file +- Use mingw macros without leading underscore * Mon Feb 27 2012 Erik van Pienbroek - 1.0-7 - Rebuild against the mingw-w64 toolchain