]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- qmake sucks, i have no idea why it randomly generates targets and sometimes not
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 14 Oct 2010 19:29:48 +0000 (19:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula.spec -> 1.162

bacula.spec

index 2ad0cdd03784ad8efce144b3575e1fa87b91562b..e135100514bd23a51836f9c6cf8485d1a1019a4e 100644 (file)
@@ -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
 
This page took 0.751731 seconds and 4 git commands to generate.