Use mingw macros without leading underscore

This commit is contained in:
Kalev Lember 2012-03-06 22:16:45 +02:00
parent 3561843348
commit 6eaa4f84f3

View File

@ -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-pixman
Version: 0.24.4
@ -41,7 +41,7 @@ Group: Development/Libraries
Static version of the MinGW Windows Pixman library.
%{?_mingw32_debug_package}
%{?mingw32_debug_package}
%prep
@ -51,30 +51,31 @@ Static version of the MinGW Windows Pixman library.
%build
# Uses GTK for its testsuite, so disable this otherwise
# we have a chicken & egg problem on mingw
%{_mingw32_configure} --disable-gtk --enable-static --enable-shared
%{mingw32_configure} --disable-gtk --enable-static --enable-shared
make %{?_smp_mflags} V=1
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
%files -n mingw32-pixman
%doc COPYING
%{_mingw32_bindir}/libpixman-1-0.dll
%{_mingw32_includedir}/pixman-1
%{_mingw32_libdir}/libpixman-1.dll.a
%{_mingw32_libdir}/pkgconfig/pixman-1.pc
%{mingw32_bindir}/libpixman-1-0.dll
%{mingw32_includedir}/pixman-1
%{mingw32_libdir}/libpixman-1.dll.a
%{mingw32_libdir}/pkgconfig/pixman-1.pc
%files -n mingw32-pixman-static
%{_mingw32_libdir}/libpixman-1.a
%{mingw32_libdir}/libpixman-1.a
%changelog
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 0.24.4-2
- Renamed the source package to mingw-pixman (#800445)
- Use mingw macros without leading underscore
* Tue Feb 28 2012 Kalev Lember <kalevlember@gmail.com> - 0.24.4-1
- Update to 0.24.4