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