From 37bd64466fbde30d908f04e7fd390cb7987d5d64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 14 Oct 2010 19:29:48 +0000 Subject: [PATCH] - qmake sucks, i have no idea why it randomly generates targets and sometimes not Changed files: bacula.spec -> 1.162 --- bacula.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula.spec b/bacula.spec index 2ad0cdd..e135100 100644 --- a/bacula.spec +++ b/bacula.spec @@ -605,9 +605,9 @@ sed -e 's/gnome-console/wx-console/g;s/Console/Wx Console/g' \ %endif %if %{with bat} -%{__make} -C src/qt-console install \ - DESTDIR=$RPM_BUILD_ROOT -mv $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}/bat +# qmake somewhy does not always create install_bins target. install our own the bin +rm -f $RPM_BUILD_ROOT%{_sbindir}/bat +libtool --silent --mode=install install src/qt-console/bat $RPM_BUILD_ROOT%{_bindir} cp -a scripts/bat.desktop $RPM_BUILD_ROOT%{_desktopdir} %endif -- 2.44.0