Use mingw macros without leading underscore

This commit is contained in:
Erik van Pienbroek 2012-03-06 19:55:48 +01:00
parent dda20b5669
commit b5de1796a3

View File

@ -1,6 +1,6 @@
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define __debug_install_post %{_mingw32_debug_install_post}
%define __strip %{mingw32_strip}
%define __objdump %{mingw32_objdump}
%define __debug_install_post %{mingw32_debug_install_post}
# Patented subpixel rendering disabled by default.
# Pass '--with subpixel_rendering' on rpmbuild command-line to enable.
@ -42,7 +42,7 @@ Summary: Free and portable font rendering engine
MinGW Windows Freetype library.
%{?_mingw32_debug_package}
%{?mingw32_debug_package}
%prep
@ -59,7 +59,7 @@ MinGW Windows Freetype library.
%build
%{_mingw32_configure} --disable-static
%{mingw32_configure} --disable-static
make %{?_smp_mflags}
# The ft2demos Makefile is hacky and doesn't understand
@ -76,19 +76,20 @@ make DESTDIR=$RPM_BUILD_ROOT install
%files -n mingw32-freetype
%doc docs/LICENSE.TXT
%{_mingw32_bindir}/freetype-config
%{_mingw32_bindir}/libfreetype-6.dll
%{_mingw32_includedir}/freetype2
%{_mingw32_includedir}/ft2build.h
%{_mingw32_libdir}/libfreetype.dll.a
%{_mingw32_libdir}/libfreetype.la
%{_mingw32_libdir}/pkgconfig/freetype2.pc
%{_mingw32_datadir}/aclocal/freetype2.m4
%{mingw32_bindir}/freetype-config
%{mingw32_bindir}/libfreetype-6.dll
%{mingw32_includedir}/freetype2
%{mingw32_includedir}/ft2build.h
%{mingw32_libdir}/libfreetype.dll.a
%{mingw32_libdir}/libfreetype.la
%{mingw32_libdir}/pkgconfig/freetype2.pc
%{mingw32_datadir}/aclocal/freetype2.m4
%changelog
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-3
- Renamed the source package to mingw-freetype (RHBZ #800380)
- Use mingw macros without leading underscore
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-2
- Rebuild against the mingw-w64 toolchain