[be/el5/master] Disable manpage generation on RHEL5

Michel Alexandre Salim salimma at fedoraproject.org
Fri Mar 25 22:04:04 UTC 2011


commit 51f124bd6680f104c5990bedab3fc905ed7b9d80
Author: Michel Alexandre Salim <michel at sylvestre.me>
Date:   Fri Mar 25 23:03:35 2011 +0100

    Disable manpage generation on RHEL5

 be.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/be.spec b/be.spec
index 7079252..cea4a72 100644
--- a/be.spec
+++ b/be.spec
@@ -37,7 +37,10 @@ sed -i '1d' misc/completion/be.bash
 
 %build
 %{__python} setup.py build
+# rst2man not in RHEL5's python-docutils
+%if 0%{?el5}
 make man
+%endif
 
 
 %install
@@ -57,7 +60,9 @@ cp -p misc/completion/be.bash $COMPDIR/
 %{python_sitelib}/*
 %dir %{_sysconfdir}/bash_completion.d
 %config(noreplace) %{_sysconfdir}/bash_completion.d/be.bash
+%if 0%{?el5}
 %{_mandir}/man1/be.1*
+%endif
 
 
 %changelog


More information about the scm-commits mailing list