[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r387: some systems use byacc to provide yacc (was bison)

Stew Benedict stewb at linux-foundation.org
Thu Feb 7 18:16:38 UTC 2013


------------------------------------------------------------
revno: 387
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: puppet-lsb
timestamp: Thu 2013-02-07 13:16:38 -0500
message:
  some systems use byacc to provide yacc (was bison)
modified:
  modules/buildbot/manifests/slavepkgs.pp
-------------- next part --------------
=== modified file 'modules/buildbot/manifests/slavepkgs.pp'
--- a/modules/buildbot/manifests/slavepkgs.pp	2013-01-24 04:36:55 +0000
+++ b/modules/buildbot/manifests/slavepkgs.pp	2013-02-07 18:16:38 +0000
@@ -111,6 +111,14 @@
         default   => 'expect',
     }
 
+    # bison used to provide yacc for runtime-test, now it's byacc sometimes
+    bisonpkg = $operatingsystem ? {
+        /^SLES/   => 'bison',
+        /^CentOS/ => 'byacc',
+        /^Fedora/ => 'byacc',
+        default   => 'bison',
+    }
+
     # Apparently, libbat needs the printproto stuff to be
     # installed.  This should be built and used as part of
     # the libbat build; need to investigate.
@@ -240,7 +248,7 @@
     # Most packages needed for a typical slave; see the definitions
     # above for $ucs2anypkg and $xdevelpkg for the interesting ones.
     $pkglist = [ "$rpmpkg", "$gpluspluspkg", "$pkgconfigpkg",
-                 "$javapkg", 'autoconf', 'automake', 'libtool', 'bison',
+                 "$javapkg", 'autoconf', 'automake', 'libtool', "$bisonpkg",
                  'flex', "$xgettextpkg", 'rsync', "$bdftopcfpkg",
                  "$intltoolpkg", "$glibdevelpkg", "$pamdevelpkg",
                  "$expectpkg", "$expatdevelpkg", 'perl', 



More information about the lsb-messages mailing list