diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-03-08 17:20:32 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-03-08 17:20:32 +0000 |
commit | 251e5e4c5c8da930b8d3e38b15110db4c55e60fb (patch) | |
tree | 98c2ca83e1265ea1a93b4cf4c5dbe99e58a8e75d | |
parent | addfcd942d7c9cf44b5fadafaf2185d4e8610694 (diff) | |
download | rpm-setup-251e5e4c5c8da930b8d3e38b15110db4c55e60fb.tar rpm-setup-251e5e4c5c8da930b8d3e38b15110db4c55e60fb.tar.gz rpm-setup-251e5e4c5c8da930b8d3e38b15110db4c55e60fb.tar.bz2 rpm-setup-251e5e4c5c8da930b8d3e38b15110db4c55e60fb.tar.xz rpm-setup-251e5e4c5c8da930b8d3e38b15110db4c55e60fb.zip |
- handle haskell requirement
-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 |