[svn] r3560 - trunk/rpms/lincvs

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Wed Sep 7 16:53:08 CEST 2005


Author: dries
Date: 2005-09-07 16:53:03 +0200 (Wed, 07 Sep 2005)
New Revision: 3560

Modified:
   trunk/rpms/lincvs/lincvs.spec
Log:
fix

Modified: trunk/rpms/lincvs/lincvs.spec
===================================================================
--- trunk/rpms/lincvs/lincvs.spec	2005-09-07 12:53:08 UTC (rev 3559)
+++ trunk/rpms/lincvs/lincvs.spec	2005-09-07 14:53:03 UTC (rev 3560)
@@ -50,12 +50,8 @@
 source "%{_sysconfdir}/profile.d/qt.sh"
 
 ### FIXME: Dirty trick so RH qmake creates Makefile with exceptions enabled (Please fix upstream)
-qmake -o - lincvs.pro | sed -e 's|-fno-exceptions|-fexceptions|g' > Makefile
-
-#qmake -o Makefile.tmp lincvs.pro
-#sed -e 's|-fno-exceptions|-fexceptions|g' Makefile.tmp >Makefile
-#rm Makefile.tmp
-
+qmake lincvs.pro
+%{__perl} -pi -e "s|-fno-exceptions|-fexceptions|g;" Makefile
 %{__make} %{?_smp_mflags}
 
 %install
@@ -83,7 +79,7 @@
 
 %files
 %defattr(-, root, root, 0755)
-%doc AUTHORS BUGS.txt ChangeLog COPYING LICENSE NEWS README THANKS VERSION doc/
+%doc AUTHORS ChangeLog COPYING LICENSE NEWS README THANKS VERSION doc/
 %{_bindir}/*
 %{_datadir}/lincvs/
 %{_datadir}/applications/*.desktop




More information about the commits mailing list