Create build_winXX directories with mkdir -p
This commit is contained in:
parent
ae9028c351
commit
a1c19e33ff
24
macros.mingw
24
macros.mingw
@ -37,13 +37,13 @@ run_mingw_configure() \
|
||||
[ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \
|
||||
done ; \
|
||||
%if 0%{?mingw_build_win32} == 1 \
|
||||
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw32_configure} "$@" \
|
||||
popd \
|
||||
%endif \
|
||||
%if 0%{?mingw_build_win64} == 1 \
|
||||
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw64_configure} "$@" \
|
||||
popd \
|
||||
@ -67,13 +67,13 @@ run_mingw_make
|
||||
run_mingw_cmake() \
|
||||
{ \
|
||||
%if 0%{?mingw_build_win32} == 1 \
|
||||
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw32_cmake "$@"} \
|
||||
popd \
|
||||
%endif \
|
||||
%if 0%{?mingw_build_win64} == 1 \
|
||||
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw64_cmake "$@"} \
|
||||
popd \
|
||||
@ -85,13 +85,13 @@ run_mingw_cmake
|
||||
run_mingw_cmake_kde4() \
|
||||
{ \
|
||||
%if 0%{?mingw_build_win32} == 1 \
|
||||
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw32_cmake_kde4 "$@"} \
|
||||
popd \
|
||||
%endif \
|
||||
%if 0%{?mingw_build_win64} == 1 \
|
||||
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw64_cmake_kde4 "$@"} \
|
||||
popd \
|
||||
@ -103,13 +103,13 @@ run_mingw_cmake_kde4
|
||||
run_mingw_qmake_qt4() \
|
||||
{ \
|
||||
%if 0%{?mingw_build_win32} == 1 \
|
||||
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw32_qmake_qt4} "$@" \
|
||||
popd \
|
||||
%endif \
|
||||
%if 0%{?mingw_build_win64} == 1 \
|
||||
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw64_qmake_qt4} "$@" \
|
||||
popd \
|
||||
@ -121,13 +121,13 @@ run_mingw_qmake_qt4
|
||||
run_mingw_qmake_qt5() \
|
||||
{ \
|
||||
%if 0%{?mingw_build_win32} == 1 \
|
||||
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw32_qmake_qt5} "$@" \
|
||||
popd \
|
||||
%endif \
|
||||
%if 0%{?mingw_build_win64} == 1 \
|
||||
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw64_qmake_qt5} "$@" \
|
||||
popd \
|
||||
@ -139,13 +139,13 @@ run_mingw_qmake_qt5
|
||||
run_mingw_meson() \
|
||||
{ \
|
||||
%if 0%{?mingw_build_win32} == 1 \
|
||||
mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw32_meson "$@"} \
|
||||
popd \
|
||||
%endif \
|
||||
%if 0%{?mingw_build_win64} == 1 \
|
||||
mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
|
||||
%{?mingw64_meson "$@"} \
|
||||
popd \
|
||||
|
@ -6,8 +6,8 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
Name: mingw-filesystem
|
||||
Version: 131
|
||||
Release: 2%{?dist}
|
||||
Version: 132
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW cross compiler base filesystem and environment
|
||||
|
||||
License: GPLv2+
|
||||
@ -358,6 +358,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 21 2022 Sandro Mani <manisandro@gmail.com> - 132-1
|
||||
- Create build_winXX directories with mkdir -p
|
||||
|
||||
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 131-2
|
||||
- Bump release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user