Class: RPM::Package

Inherits:
Object
  • Object
show all
Defined in:
lib/rake/rpmtask.rb

Instance Method Summary collapse

Instance Method Details

#has_sig?Boolean

Returns:

  • (Boolean)


90
91
92
# File 'lib/rake/rpmtask.rb', line 90

def has_sig?
  sprintf( "%{siggpg}" ) != '(none)'
end

#pathObject



80
81
82
83
84
85
86
87
88
# File 'lib/rake/rpmtask.rb', line 80

def path
  unless @path
    @path = File.join RPM::RPMDir, sprintf( RPM::BuildNameFmt )

    # kludge to fix incorrect package arch
    @path.sub! 'i686', 'i386'  if name != 'kmod-nslink'
  end
  @path
end