rpms/firefox/devel add-gecko-provides.in,1.1,1.2

Christopher Aillon (caillon) fedora-extras-commits at redhat.com
Sat May 26 00:34:27 UTC 2007


Author: caillon

Update of /cvs/extras/rpms/firefox/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27675

Modified Files:
	add-gecko-provides.in 
Log Message:
smarter virtual provides info



Index: add-gecko-provides.in
===================================================================
RCS file: /cvs/extras/rpms/firefox/devel/add-gecko-provides.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- add-gecko-provides.in	11 Oct 2006 20:54:47 -0000	1.1
+++ add-gecko-provides.in	26 May 2007 00:33:52 -0000	1.2
@@ -9,10 +9,13 @@
 #
 # Now output the stuff we want to add
 #
-core_files=`echo $filelist | grep "libxpcom.so" | wc -l`
-devel_files=`echo $filelist | grep "nsISupports" | wc -l`
-if [ $devel_files -gt 0 ]; then
-  echo "gecko-devel = @GECKO_VERSION@"
-elif [ $core_files -gt 0 ]; then
-  echo "gecko-libs = @GECKO_VERSION@"
+core_files=`echo $filelist | grep "libxpcom\.so" | wc -l`
+devel_files=`echo $filelist | grep "firefox\-xpcom\.pc" | wc -l`
+debug_files=`echo $filelist | grep "libxpcom\.so\.debug" | wc -l`
+if [ $debug_files -eq 0 ]; then
+  if [ $devel_files -gt 0 ]; then
+    echo "gecko-devel = @GECKO_VERSION@"
+  elif [ $core_files -gt 0 ]; then
+    echo "gecko-libs = @GECKO_VERSION@"
+  fi
 fi




More information about the scm-commits mailing list