code: def generate(env):
      
      try:
          bld = env['BUILDERS']['Rpm']
      except KeyError:
          bld = RpmBuilder
          env['BUILDERS']['Rpm'] = bld
  
      env.SetDefault(RPM          = 'LC_ALL=C rpmbuild')
      env.SetDefault(RPMFLAGS     = SCons.Util.CLVar('-ta'))
      env.SetDefault(RPMCOM       = rpmAction)
      env.SetDefault(RPMSUFFIX    = '.rpm')
docs: Add Builders and construction variables for rpm to an Environment.