diff options
-rwxr-xr-x | find-provides.in | 4 | ||||
-rwxr-xr-x | find-requires.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/find-provides.in b/find-provides.in index 055b21e..105af38 100755 --- a/find-provides.in +++ b/find-provides.in @@ -94,8 +94,8 @@ fi # # --- haskell provides -if [ -x /usr/bin/cabalrpmprov ]; then - find . -name "*.cabal" | xargs /usr/bin/cabalrpmprov +if [ -x /usr/bin/haskell-find-provides ]; then +echo $filelist | tr '[:blank:]' '\n' | /usr/bin/haskell-find-provides fi exit 0 diff --git a/find-requires.in b/find-requires.in index 532b0f9..ec2f6a3 100755 --- a/find-requires.in +++ b/find-requires.in @@ -251,8 +251,8 @@ fi # # haskell requires -if [ -x /usr/bin/cabalrpmreq ]; then - /usr/bin/cabalrpmreq +if [ -x /usr/bin/haskell-find-requires ]; then +echo $filelist | tr '[:blank:]' '\n' | /usr/bin/haskell-find-requires fi |