[mingw-qt] Save some more disk space during build to avoid koji build failures

Erik van Pienbroek epienbro at fedoraproject.org
Mon Dec 10 20:19:46 UTC 2012


commit 6aed721972830800c495d91aac90f1010bcae6e6
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Mon Dec 10 21:17:51 2012 +0100

    Save some more disk space during build to avoid koji build failures

 mingw-qt.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mingw-qt.spec b/mingw-qt.spec
index 1450f94..19847b3 100644
--- a/mingw-qt.spec
+++ b/mingw-qt.spec
@@ -69,6 +69,7 @@ Patch23:        qt-4.8.1-fix-activeqt-compilation.patch
 Patch24:        qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch
 
 # Fix build regression regarding SSSE3 support
+# https://codereview.qt-project.org/42316
 Patch25:        qt-4.8.4-fix-sse-suppport-build-regression.patch
 
 BuildRequires:  mingw32-filesystem >= 95
@@ -375,9 +376,11 @@ make install -C ../build_release_static_win32 INSTALL_ROOT=$RPM_BUILD_ROOT/stati
 
 # Clean up everything in the static tree which we don't need to safe disk space
 rm -rf $RPM_BUILD_ROOT/static/%{mingw32_bindir}
+rm -rf ../build_release_static_win32
 
 make install -C ../build_release_static_win64 INSTALL_ROOT=$RPM_BUILD_ROOT/static
 rm -rf $RPM_BUILD_ROOT/static/%{mingw64_bindir}
+rm -rf ../build_release_static_win64
 
 # Drop the qtmain static library from the static tree as
 # it's already part of the main tree


More information about the scm-commits mailing list