/usr/lib/rpm
NameSizeModeActions
macros.d/-0755rm
platform/-0755rm
redhat/-0755rm
brp-compress14660755editdlrm
brp-java-gcjcompile14010755editdlrm
brp-python-bytecompile30310755editdlrm
brp-strip4870755editdlrm
brp-strip-comment-note6960755editdlrm
brp-strip-shared6840755editdlrm
brp-strip-static-archive3890755editdlrm
check-buildroot12310755editdlrm
check-files6630755editdlrm
check-prereqs4180755editdlrm
check-rpaths10390755editdlrm
check-rpaths-worker50450755editdlrm
config.guess449410755editdlrm
config.sub344230755editdlrm
debugedit305440755editdlrm
desktop-file.prov4370755editdlrm
find-debuginfo.sh93580755editdlrm
find-lang.sh56210755editdlrm
find-provides15590755editdlrm
find-requires35050755editdlrm
fontconfig.prov4890755editdlrm
javadeps234000755editdlrm
libtooldeps.sh7070755editdlrm
macros434500644editdlrm
macros.perl5960644editdlrm
macros.php3130644editdlrm
macros.python9060644editdlrm
mkinstalldirs34950755editdlrm
mono-find-provides11050755editdlrm
mono-find-requires19140755editdlrm
ocaml-find-provides.sh18800755editdlrm
ocaml-find-requires.sh23540755editdlrm
osgideps.pl105910755editdlrm
perl.prov57760755editdlrm
perl.req79730755editdlrm
perldeps.pl329000644editdlrm
pkgconfigdeps.sh11710755editdlrm
pythondeps.sh8750755editdlrm
rpm.daily2840644editdlrm
rpm.log610644editdlrm
rpm.xinetd3190644editdlrm
rpm2cpio.sh12550755editdlrm
rpmdb_archive-0editdlrm
rpmdb_deadlock-0editdlrm
rpmdb_dump-0editdlrm
rpmdb_load-0editdlrm
rpmdb_loadcvt14670755editdlrm
rpmdb_printlog-0editdlrm
rpmdb_recover-0editdlrm
rpmdb_stat-0editdlrm
rpmdb_upgrade-0editdlrm
rpmdb_verify-0editdlrm
rpmdeps86160755editdlrm
rpmdiff239770755editdlrm
rpmdiff.cgi156740644editdlrm
rpmpopt-4.8.079200644editdlrm
rpmrc136980644editdlrm
tcl.req20690755editdlrm
tgpg9070755editdlrm
Edit: /usr/lib/rpm/ocaml-find-provides.sh (1880B)
#!/bin/sh - # OCaml-specific "find-provides" for RPM. # By Richard W.M. Jones # $Id: ocaml-find-provides.sh,v 1.2 2007/09/06 11:49:59 rjones Exp $ #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 # 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'. OCAMLOBJINFO=ocamlobjinfo TEMP=`getopt -o i:f: -n ocaml-find-provides.sh -- "$@"` if [ $? != 0 ]; then echo "ocaml-find-provides.sh: failed" >&2; exit 1; fi eval set -- "$TEMP" ignore_modules=nOTREAL while true; do case "$1" in -i) ignore_modules="$2 $ignore_modules"; shift 2;; -f) OCAMLOBJINFO="$2"; shift 2;; --) shift; break;; *) echo "ocaml-find-provides.sh: option error at $1"; exit 1;; esac done # Get the list of files. files=`sed "s/['\"]/\\\&/g"` # 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 files. 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) provide. $OCAMLOBJINFO $files | grep -Eo '[0-9a-f]{32}[[:space:]]+[A-Za-z0-9_]+' | grep -E '[0-9a-f]{32}[[:space:]]+'"($modules_re)\$" | while read md5sum module; do echo "ocaml($module) = $md5sum" done | grep -Ev "$ignore_modules_re" | sort -u