aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-03-10 15:09:35 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-03-10 15:09:35 +0000
commit8181715b54b8f1c6c418d2c49e67a86ec861cb9a (patch)
treef0a4c15560f4a94ce6c635c7ec8b3c9d3b98695a
parent53a235374ad09870d71845e025fa9dfc399ddc0f (diff)
downloadrpm-setup-8181715b54b8f1c6c418d2c49e67a86ec861cb9a.tar
rpm-setup-8181715b54b8f1c6c418d2c49e67a86ec861cb9a.tar.gz
rpm-setup-8181715b54b8f1c6c418d2c49e67a86ec861cb9a.tar.bz2
rpm-setup-8181715b54b8f1c6c418d2c49e67a86ec861cb9a.tar.xz
rpm-setup-8181715b54b8f1c6c418d2c49e67a86ec861cb9a.zip
- use externals scripts for haskell deps
-rwxr-xr-xfind-provides.in4
-rwxr-xr-xfind-requires.in4
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