lib/vanagon/platform/rpm.rb
def rpm_defines
        defines =  %(--define '_topdir $(tempdir)/rpmbuild' )
        # RPM doesn't allow dashes in the os_name. This was added to
        # convert cisco-wrlinux to cisco_wrlinux
        defines << %(--define 'dist .#{@os_name.gsub('-', '_')}#{@os_version}' )
      end
# The specific bits used to generate an rpm package for a given project
#
# @param project [Vanagon::Project] project to build an rpm package of
# @return [Array] list of commands required to build an rpm package for the given project from a tarball
The specific bits used to generate an rpm package for a given project
The specific bits used to generate an rpm package for a given project
def rpm_defines
        defines =  %(--define '_topdir $(tempdir)/rpmbuild' )
        defines << %(--define 'dist .#{@os_name.gsub('-', '_')}#{@os_version}' )
      end
def rpm_defines defines = %(--define '_topdir $(tempdir)/rpmbuild' ) defines << %(--define 'dist .#{@os_name.gsub('-', '_')}#{@os_version}' ) end
The specific bits used to generate an rpm package for a given project
The specific bits used to generate an rpm package for a given project
# RPM doesn't allow dashes in the os_name. This was added to # convert cisco-wrlinux to cisco_wrlinux
list of commands required to build an rpm package for the given project from a tarball
list of commands required to build an rpm package for the given project from a tarball
Array
project
project to build an rpm package of
project to build an rpm package of