[mingw-zfstream: 15/15] Use mingw macros without leading underscore
Kalev Lember
kalev at fedoraproject.org
Wed Mar 7 18:26:29 UTC 2012
commit 93470c64c40804c3ace12701ed2465bee5b3672f
Author: Kalev Lember <kalevlember at gmail.com>
Date: Wed Mar 7 20:23:33 2012 +0200
Use mingw macros without leading underscore
mingw-zfstream.spec | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/mingw-zfstream.spec b/mingw-zfstream.spec
index 0de3882..fdfbaaa 100644
--- a/mingw-zfstream.spec
+++ b/mingw-zfstream.spec
@@ -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}
%global vday 02
%global vmonth 12
@@ -48,7 +48,7 @@ Summary: MinGW Windows abstraction API for reading and writing compressed
MinGW zfstream C++ compressed I/O abstraction library
-%{?_mingw32_debug_package}
+%{?mingw32_debug_package}
%prep
@@ -62,7 +62,7 @@ libtoolize -f
automake -a -c
%build
-%{_mingw32_configure} --disable-static
+%{mingw32_configure} --disable-static
make %{?_smp_mflags}
@@ -72,16 +72,17 @@ make install DESTDIR=$RPM_BUILD_ROOT
%files -n mingw32-%{name1}
%doc LICENSE
-%{_mingw32_bindir}/libzfstream-0.dll
-%{_mingw32_includedir}/*
-%{_mingw32_libdir}/libzfstream.dll.a
-%{_mingw32_libdir}/libzfstream.la
-%{_mingw32_libdir}/pkgconfig/zfstream.pc
+%{mingw32_bindir}/libzfstream-0.dll
+%{mingw32_includedir}/*
+%{mingw32_libdir}/libzfstream.dll.a
+%{mingw32_libdir}/libzfstream.la
+%{mingw32_libdir}/pkgconfig/zfstream.pc
%changelog
* Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 20041202-12
- Renamed the source package to mingw-zfstream (#801040)
- Modernize the spec file
+- Use mingw macros without leading underscore
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 20041202-11
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list