[ghc-rpm-macros] ghc-deps.sh: fix ghclibdir path documentation

Jens Petersen petersen at fedoraproject.org
Mon May 9 05:00:18 UTC 2011


commit c81c65671bec75a3891cf53719be2ad59c699820
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon May 9 13:59:58 2011 +0900

    ghc-deps.sh: fix ghclibdir path documentation

 ghc-deps.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ghc-deps.sh b/ghc-deps.sh
index 00e2440..0ad905b 100755
--- a/ghc-deps.sh
+++ b/ghc-deps.sh
@@ -3,10 +3,10 @@
 
 # To use add the following lines to spec file:
 #   %define _use_internal_dependency_generator 0
-#   %define __find_requires /usr/lib/rpm/ghc-deps.sh --requires %{buildroot}%{ghcpkgbasedir}
-#   %define __find_provides /usr/lib/rpm/ghc-deps.sh --provides %{buildroot}%{ghcpkgbasedir}
+#   %define __find_requires /usr/lib/rpm/ghc-deps.sh --requires %{buildroot}%{ghclibdir}
+#   %define __find_provides /usr/lib/rpm/ghc-deps.sh --provides %{buildroot}%{ghclibdir}
 
-[ $# -ne 2 ] && echo "Usage: `basename $0` [--provides|--requires] %{buildroot}" && exit 1
+[ $# -ne 2 ] && echo "Usage: `basename $0` [--provides|--requires] %{buildroot}%{ghclibdir}" && exit 1
 
 MODE=$1
 PKGBASEDIR=$2


More information about the scm-commits mailing list