[yap] EAM is experimental

Petr Pisar ppisar at fedoraproject.org
Tue Jan 4 10:46:51 UTC 2011


commit f4bb864ff97f8ac4330999e9a83fc6c19c458b6d
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Jan 3 18:04:13 2011 +0100

    EAM is experimental

 yap.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/yap.spec b/yap.spec
index de09838..6fe7b6f 100644
--- a/yap.spec
+++ b/yap.spec
@@ -1,3 +1,7 @@
+# BEAM is experimantal and some interpreter code unimplemented. See
+# README.EAM.html for more details.
+%global use_eam 0
+
 Name:       yap
 Version:    6.2.0
 Release:    1%{?dist}
@@ -115,6 +119,9 @@ find -name '*.c' -exec chmod 0644 '{}' ';'
     --enable-depth-limit \
     --enable-dynamic-loading \
     --enable-myddas \
+%if %{use_eam}
+    --enable-eam \
+%endif
     --enable-chr \
     --enable-clpqr
 # TODO: --with-java
@@ -168,7 +175,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc Artistic changes* COPYING README TO_DO
-# TODO: experimental %doc README.EAM.html
+%if %{use_eam}
+%doc README.EAM.html
+%endif
 %{_bindir}/yap
 %{_datadir}/Yap
 %{_libdir}/Yap


More information about the scm-commits mailing list