[4.0] Use strip (instead of eu-strip) to support --strip-debug of *.so at build time
[platform/upstream/rpm.git] / scripts / ocaml-find-provides.sh
index 007b4ca..985709e 100644 (file)
@@ -6,16 +6,11 @@
 #set -x
 
 # Usage:
-#   (1) Add the following to the spec file:
-#   %define _use_internal_dependency_generator 0
-#   %define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
-#   %define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
-#
-#   (2) If you don't want the module to depend on the exact compiler
+#   (1) If you don't want the module to depend on the exact compiler
 #   version then use ocaml-find-requires.sh -c, but this is not something
 #   you should do normally.
 #
-#   (3) For any modules which you want to ignore, use '-i Modulename'.
+#   (2) For any modules which you want to ignore, use '-i Modulename'.
 
 OCAMLOBJINFO=ocamlobjinfo
 TEMP=`getopt -o i:f: -n ocaml-find-provides.sh -- "$@"`
@@ -37,7 +32,7 @@ done
 files=`sed "s/['\"]/\\\&/g"`
 
 # Get list of .cmi, .cmo and .cma files.
-files=`echo $files | tr [:blank:] '\n' | grep '\.cm[ioa]$'`
+files=`echo $files | tr '[:blank:]' '\n' | grep '\.cm[ioa]$'`
 
 if [ -z "$files" ]; then exit 0; fi