packages: bacula/bacula.spec - qmake sucks, i have no idea why it randomly ...

glen glen at pld-linux.org
Thu Oct 14 21:29:54 CEST 2010


Author: glen                         Date: Thu Oct 14 19:29:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- qmake sucks, i have no idea why it randomly generates targets and sometimes not

---- Files affected:
packages/bacula:
   bacula.spec (1.161 -> 1.162) 

---- Diffs:

================================================================
Index: packages/bacula/bacula.spec
diff -u packages/bacula/bacula.spec:1.161 packages/bacula/bacula.spec:1.162
--- packages/bacula/bacula.spec:1.161	Wed Oct 13 14:25:34 2010
+++ packages/bacula/bacula.spec	Thu Oct 14 21:29:48 2010
@@ -606,9 +606,9 @@
 %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
 
@@ -1063,6 +1063,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.162  2010/10/14 19:29:48  glen
+- qmake sucks, i have no idea why it randomly generates targets and sometimes not
+
 Revision 1.161  2010/10/13 12:25:34  glen
 - disable dbi for ac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bacula/bacula.spec?r1=1.161&r2=1.162&f=u



More information about the pld-cvs-commit mailing list