[mingw-qt5-qtbase] Make sure $RPM_BUILD_ROOT is used when creating folders
Erik van Pienbroek
epienbro at fedoraproject.org
Mon Jan 28 08:55:52 UTC 2013
commit eeee3e610e081f52a4a1687a929decb75dce7604
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Mon Jan 28 09:55:36 2013 +0100
Make sure $RPM_BUILD_ROOT is used when creating folders
mingw-qt5-qtbase.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mingw-qt5-qtbase.spec b/mingw-qt5-qtbase.spec
index 05fc35a..bdfc339 100644
--- a/mingw-qt5-qtbase.spec
+++ b/mingw-qt5-qtbase.spec
@@ -339,7 +339,7 @@ make install -C ../build_release_static_win64$BUILDDIR INSTALL_ROOT=$RPM_BUILD_R
# library needs to be placed in a separate folder in order to avoid getting native and
# win32/win64 libraries mixed up. %%{_libdir} isn't desired for this as this can potentially
# conflict with the native Qt5 package, so use a different folder
-mkdir %{_prefix}/%{mingw32_target}/lib/ %{_prefix}/%{mingw64_target}/lib/
+mkdir $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/ %{_prefix}/%{mingw64_target}/lib/
mv $RPM_BUILD_ROOT%{mingw32_libdir}/libQt5Bootstrap.a %{_prefix}/%{mingw32_target}/lib/
mv $RPM_BUILD_ROOT%{mingw32_libdir}/libQt5Bootstrap.a %{_prefix}/%{mingw64_target}/lib/
More information about the scm-commits
mailing list