diff options
-rwxr-xr-x | find-provides.in | 7 | ||||
-rwxr-xr-x | find-requires.in | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/find-provides.in b/find-provides.in index 38270b6..055b21e 100755 --- a/find-provides.in +++ b/find-provides.in @@ -91,4 +91,11 @@ if [ -x /usr/bin/mono-find-provides ]; then echo $filelist | tr '[:blank:]' '\n' | /usr/bin/mono-find-provides fi + +# +# --- haskell provides +if [ -x /usr/bin/cabalrpmprov ]; then + find . -name "*.cabal" | xargs /usr/bin/cabalrpmprov +fi + exit 0 diff --git a/find-requires.in b/find-requires.in index c88af2e..532b0f9 100755 --- a/find-requires.in +++ b/find-requires.in @@ -249,4 +249,11 @@ if [ -x /usr/bin/mono-find-requires ]; then echo $filelist | tr '[:blank:]' '\n' | /usr/bin/mono-find-requires fi +# +# haskell requires +if [ -x /usr/bin/cabalrpmreq ]; then + /usr/bin/cabalrpmreq +fi + + exit 0 |