Fix whitespace handling in %mingw_configure and friends

This commit is contained in:
Kalev Lember 2012-04-19 18:55:04 +03:00
parent e66c6cc210
commit 57554d32bb
2 changed files with 12 additions and 9 deletions

View File

@ -37,13 +37,13 @@ run_mingw_configure() \
%if 0%{?mingw_build_win32} == 1 \ %if 0%{?mingw_build_win32} == 1 \
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \ mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \ pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_configure} $@ \ %{?mingw32_configure} "$@" \
popd \ popd \
%endif \ %endif \
%if 0%{?mingw_build_win64} == 1 \ %if 0%{?mingw_build_win64} == 1 \
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \ mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \ pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_configure} $@ \ %{?mingw64_configure} "$@" \
popd \ popd \
%endif \ %endif \
} \ } \
@ -53,10 +53,10 @@ run_mingw_configure
run_mingw_make() \ run_mingw_make() \
{ \ { \
%if 0%{?mingw_build_win32} == 1 \ %if 0%{?mingw_build_win32} == 1 \
make -C build_win32$MINGW_BUILDDIR_SUFFIX $@ \ make -C build_win32$MINGW_BUILDDIR_SUFFIX "$@" \
%endif \ %endif \
%if 0%{?mingw_build_win64} == 1 \ %if 0%{?mingw_build_win64} == 1 \
make -C build_win64$MINGW_BUILDDIR_SUFFIX $@ \ make -C build_win64$MINGW_BUILDDIR_SUFFIX "$@" \
%endif \ %endif \
} \ } \
run_mingw_make run_mingw_make
@ -67,13 +67,13 @@ run_mingw_cmake() \
%if 0%{?mingw_build_win32} == 1 \ %if 0%{?mingw_build_win32} == 1 \
mkdir build_win32$suffix \ mkdir build_win32$suffix \
pushd build_win32$suffix \ pushd build_win32$suffix \
%{?mingw32_cmake $@} \ %{?mingw32_cmake "$@"} \
popd \ popd \
%endif \ %endif \
%if 0%{?mingw_build_win64} == 1 \ %if 0%{?mingw_build_win64} == 1 \
mkdir build_win64$suffix \ mkdir build_win64$suffix \
pushd build_win64$suffix \ pushd build_win64$suffix \
%{?mingw64_cmake $@} \ %{?mingw64_cmake "$@"} \
popd \ popd \
%endif \ %endif \
} \ } \
@ -85,13 +85,13 @@ run_mingw_cmake_kde4() \
%if 0%{?mingw_build_win32} == 1 \ %if 0%{?mingw_build_win32} == 1 \
mkdir build_win32$suffix \ mkdir build_win32$suffix \
pushd build_win32$suffix \ pushd build_win32$suffix \
%{?mingw32_cmake_kde4 $@} \ %{?mingw32_cmake_kde4 "$@"} \
popd \ popd \
%endif \ %endif \
%if 0%{?mingw_build_win64} == 1 \ %if 0%{?mingw_build_win64} == 1 \
mkdir build_win64$suffix \ mkdir build_win64$suffix \
pushd build_win64$suffix \ pushd build_win64$suffix \
%{?mingw64_cmake_kde4 $@} \ %{?mingw64_cmake_kde4 "$@"} \
popd \ popd \
%endif \ %endif \
} \ } \

View File

@ -2,7 +2,7 @@
Name: mingw-filesystem Name: mingw-filesystem
Version: 95 Version: 95
Release: 8%{?dist} Release: 9%{?dist}
Summary: MinGW cross compiler base filesystem and environment Summary: MinGW cross compiler base filesystem and environment
Group: Development/Libraries Group: Development/Libraries
@ -246,6 +246,9 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
%changelog %changelog
* Thu Apr 19 2012 Kalev Lember <kalevlember@gmail.com> - 95-9
- Fix whitespace handling in %%mingw_configure and friends
* Sat Mar 17 2012 Kalev Lember <kalevlember@gmail.com> - 95-8 * Sat Mar 17 2012 Kalev Lember <kalevlember@gmail.com> - 95-8
- Generate the list of mingw32(...) and mingw64(...) DLL name provides from - Generate the list of mingw32(...) and mingw64(...) DLL name provides from
mingw-crt import libraries mingw-crt import libraries