[ghc-rpm-macros] silence output from gen_contents_index

Jens Petersen petersen at fedoraproject.org
Tue Oct 30 02:21:05 UTC 2012


commit 29279d4a5be49a2c7ef37f8c2c592427f6a637ae
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Oct 30 11:20:39 2012 +0900

    silence output from gen_contents_index

 ghc-rpm-macros.ghc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ghc-rpm-macros.ghc b/ghc-rpm-macros.ghc
index aedf13c..f9edaa1 100644
--- a/ghc-rpm-macros.ghc
+++ b/ghc-rpm-macros.ghc
@@ -230,13 +230,13 @@ if [ $1 -gt 1 ] ; then\
   fi\
 else\
   cd %{ghcdocbasedir}/libraries\
-  ./gen_contents_index\
+  ./gen_contents_index >/dev/null\
 fi\
 \
 %posttrans -n %{basepkg}-devel\
 if [ -f %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex ]; then\
   cd %{ghcdocbasedir}/libraries\
-  ./gen_contents_index\
+  ./gen_contents_index >/dev/null\
   rm %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex\
 fi
 


More information about the scm-commits mailing list