From 78fe81ca2529c684d00f1c8719fd223480bc089a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 22 Oct 2010 11:03:40 +0000 Subject: [PATCH] - use $QMAKE not qmake bin, to always use QMAKE configured Changed files: bacula.spec -> 1.164 qmake-bin.patch -> 1.1 --- bacula.spec | 2 ++ qmake-bin.patch | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 qmake-bin.patch diff --git a/bacula.spec b/bacula.spec index 371471c..2de72e8 100644 --- a/bacula.spec +++ b/bacula.spec @@ -57,6 +57,7 @@ Patch7: %{name}-dbi_fixes.patch Patch8: %{name}-dbi_dbcheck.patch Patch9: %{name}-openssl1.patch Patch10: %{name}-dvd_rewind.patch +Patch11: qmake-bin.patch URL: http://www.bacula.org/ BuildRequires: acl-devel BuildRequires: autoconf @@ -472,6 +473,7 @@ Nagios plugin to check bacula. %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue diff --git a/qmake-bin.patch b/qmake-bin.patch new file mode 100644 index 0000000..70cf10c --- /dev/null +++ b/qmake-bin.patch @@ -0,0 +1,17 @@ +--- bacula-5.0.3/autoconf/configure.in~ 2010-10-22 12:48:37.000000000 +0300 ++++ bacula-5.0.3/autoconf/configure.in 2010-10-22 12:50:14.083764096 +0300 +@@ -3195,13 +3195,12 @@ + AC_MSG_ERROR([Could not find qmake $PATH. Check your Qt installation]) + fi + +- QMAKEBIN="qmake" + cd src/qt-console + echo "Creating bat Makefile" + touch bat + chmod 755 bat + rm -f Makefile +- $QMAKEBIN ++ $QMAKE + ${MAKE:-make} clean + cd ${BUILD_DIR} + fi -- 2.44.0