/usr/lib/rpm
NameSizeModeActions
fileattrs/-0755rm
macros.d/-0755rm
platform/-0755rm
redhat/-0755rm
brp-compress15020755editdlrm
brp-java-gcjcompile14180755editdlrm
brp-python-bytecompile38680755editdlrm
brp-python-hardlink6320755editdlrm
brp-scl-compress18090755editdlrm
brp-scl-python-bytecompile31090755editdlrm
brp-strip4280755editdlrm
brp-strip-comment-note7410755editdlrm
brp-strip-shared7060755editdlrm
brp-strip-static-archive4940755editdlrm
check-buildroot12850755editdlrm
check-files10430755editdlrm
check-prereqs4180755editdlrm
check-rpaths10390755editdlrm
check-rpaths-worker50550755editdlrm
config.guess441660755editdlrm
config.sub364080755editdlrm
debugedit476880755editdlrm
debuginfo.prov3750755editdlrm
desktop-file.prov6020755editdlrm
elfdeps167680755editdlrm
find-debuginfo.sh200540755editdlrm
find-lang.sh82350755editdlrm
find-provides910755editdlrm
find-requires910755editdlrm
fontconfig.prov4890755editdlrm
kabi.sh4680755editdlrm
kmod.prov6820755editdlrm
libtooldeps.sh7180755editdlrm
macros439880644editdlrm
macros.perl4730644editdlrm
macros.php1920644editdlrm
macros.python9060644editdlrm
metainfo.prov4380755editdlrm
mkinstalldirs35390755editdlrm
mono-find-provides11070755editdlrm
mono-find-requires19160755editdlrm
ocaml-find-provides.sh16590755editdlrm
ocaml-find-requires.sh21350755editdlrm
pkgconfigdeps.sh13710755editdlrm
python-macro-helper6340644editdlrm
pythondeps.sh9210755editdlrm
pythondistdeps.py111840755editdlrm
rpm.daily2960644editdlrm
rpm.log610644editdlrm
rpm.supp6880644editdlrm
rpm2cpio.sh12490755editdlrm
rpmdb_dump169040755editdlrm
rpmdb_load292960755editdlrm
rpmdb_loadcvt14670755editdlrm
rpmdb_recover169040755editdlrm
rpmdb_stat168720755editdlrm
rpmdb_upgrade127520755editdlrm
rpmdb_verify168560755editdlrm
rpmdeps173440755editdlrm
rpmpopt-4.14.3114700644editdlrm
rpmrc171540644editdlrm
scldeps.sh2540755editdlrm
script.req3220755editdlrm
sepdebugcrcfix162320755editdlrm
tgpg9290755editdlrm
Edit: /usr/lib/rpm/ocaml-find-requires.sh (2135B)
#!/bin/sh - # OCaml-specific "find-requires" for RPM. # By Richard W.M. Jones # $Id: ocaml-find-requires.sh,v 1.5 2009/10/04 22:34:51 rjones Exp $ #set -x # Usage: # (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. # # (2) For any modules which you want to ignore, use '-i Modulename'. OCAMLOBJINFO=ocamlobjinfo TEMP=`getopt -o ci:f: -n ocaml-find-requires.sh -- "$@"` if [ $? != 0 ]; then echo "ocaml-find-requires.sh: failed" >&2; exit 1; fi eval set -- "$TEMP" emit_compiler_version=yes ignore_modules=nOTREAL while true; do case "$1" in -c) emit_compiler_version=; shift;; -i) ignore_modules="$2 $ignore_modules"; shift 2;; -f) OCAMLOBJINFO="$2"; shift 2;; --) shift; break;; *) echo "ocaml-find-requires.sh: option error at $1"; exit 1;; esac done # Get the list of files. files=`sed "s/['\"]/\\\&/g"` # Use ordinary find-requires first. # echo $files | tr '[:blank:]' '\n' | /usr/lib/rpm/find-requires # Get list of .cmi, .cmo and .cma files. files=`echo $files | tr '[:blank:]' '\n' | grep '\.cm[ioa]$'` if [ -z "$files" ]; then exit 0; fi # Get the list of modules exported by the file(s). modules=`$OCAMLOBJINFO $files | grep -E '(Unit|Module) name: ' | awk '{print $3}'` # Turn list of modules into a regexp that matches the module names. modules_re=`echo $modules | sed 's/ /|/g'` ignore_modules_re=`echo $ignore_modules | sed 's/ /|/g'` # Get a list of the modules these file(s) depend on. $OCAMLOBJINFO $files | grep -Eo '[0-9a-f]{32}[[:space:]]+[A-Za-z0-9_]+' | grep -Ev '[0-9a-f]{32}[[:space:]]+'"($modules_re)\$" | while read md5sum module; do echo "ocaml($module) = $md5sum" done | grep -Ev "$ignore_modules_re" | grep -Ev "^ocaml\((Annot|Asttypes|Outcometree|Cmo_format|Parsetree)\) =" | sort -u if [ -n "$emit_compiler_version" ]; then # Every OCaml program depends on the version of the # runtime which was used to compile it. echo "ocaml(runtime) = `ocamlrun -version | awk '{print $NF}' | sed 's/\+.*//'`" fi