SPECS: qt4.spec - kill *.debug ELFs (just debuginfo, chrpath fails...

qboosh qboosh at pld-linux.org
Fri Oct 6 08:25:25 CEST 2006


Author: qboosh                       Date: Fri Oct  6 06:25:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- kill *.debug ELFs (just debuginfo, chrpath fails on it)
- removed non-existing files; now install passes, unpackaged files needs check

---- Files affected:
SPECS:
   qt4.spec (1.98 -> 1.99) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.98 SPECS/qt4.spec:1.99
--- SPECS/qt4.spec:1.98	Thu Oct  5 22:34:42 2006
+++ SPECS/qt4.spec	Fri Oct  6 08:25:17 2006
@@ -1064,16 +1064,21 @@
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
+# XXX: change config(?) or make install to omit installing these and don't strip ELFs
+find $RPM_BUILD_ROOT -name '*.debug' | xargs rm -f
+
 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
 
-install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_qtdir}/plugins/sqldrivers
+#install plugins/sqldrivers/*.so $RPM_BUILD_ROOT%{_qtdir}/plugins/sqldrivers
 
 # install tools
 install bin/findtr	$RPM_BUILD_ROOT%{_qtdir}/bin
 install bin/qvfb	$RPM_BUILD_ROOT%{_bindir}
 install bin/pixeltool	$RPM_BUILD_ROOT%{_bindir}
-install bin/qdbus*	$RPM_BUILD_ROOT%{_bindir}
+install bin/qdbus	$RPM_BUILD_ROOT%{_bindir}
+install bin/qdbuscpp2xml	$RPM_BUILD_ROOT%{_bindir}
+install bin/qdbusxml2cpp	$RPM_BUILD_ROOT%{_bindir}
 
 cd $RPM_BUILD_ROOT%{_bindir}
 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
@@ -1300,7 +1305,6 @@
 %dir %{_qtdir}/plugins/sqldrivers
 %dir %{_datadir}/qt4
 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
-%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt4.qm
 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
@@ -1438,7 +1442,6 @@
 %attr(755,root,root) %{_qtdir}/bin/linguist
 %attr(755,root,root) %{_qtdir}/bin/lrelease
 %attr(755,root,root) %{_qtdir}/bin/lupdate
-%attr(755,root,root) %{_qtdir}/bin/qm2ts
 %{_datadir}/qt4/phrasebooks
 %{_desktopdir}/qt4-linguist.desktop
 %{_pixmapsdir}/qt4-linguist.png
@@ -1485,9 +1488,10 @@
 %defattr(644,root,root,755)
 %{_libdir}/libQtCore*.a
 
-%files -n QtDBus-static
-%defattr(644,root,root,755)
-%{_libdir}/libQtDBus*.a
+# XXX: build it
+#%files -n QtDBus-static
+#%defattr(644,root,root,755)
+#%{_libdir}/libQtDBus*.a
 
 %files -n QtGui-static
 %defattr(644,root,root,755)
@@ -1539,6 +1543,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.99  2006/10/06 06:25:17  qboosh
+- kill *.debug ELFs (just debuginfo, chrpath fails on it)
+- removed non-existing files; now install passes, unpackaged files needs check
+
 Revision 1.98  2006/10/05 20:34:42  qboosh
 - pl desc for QtDBus
 - dbus dep in QtDBus is questionable
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.98&r2=1.99&f=u



More information about the pld-cvs-commit mailing list