# File lib/mcollective/pluginpackager/rpmpackage_packager.rb, line 6
      def initialize(plugin, pluginpath = nil, signature = nil, verbose = false, keep_artifacts = nil, module_template = nil)
        if @buildtool = select_command
          @plugin = plugin
          @package_name = "#{@plugin.mcname}-#{@plugin.metadata[:name]}"
          @package_name_and_version = "#{@package_name}-#{@plugin.metadata[:version]}"
          @verbose = verbose
          @libdir = pluginpath || '/usr/libexec/mcollective/mcollective/'
          @signature = signature
          @rpmdir = rpmdir
          @srpmdir = srpmdir
          @keep_artifacts = keep_artifacts
        else
          raise("Cannot build package. 'rpmbuild' or 'rpmbuild-md5' is not present on the system")
        end
      end