Sha256: a30dc2747cdc84e4deb0345b32a1280d5f67990889e4416843e15df8a78f72af
Contents?: true
Size: 437 Bytes
Versions: 8
Compression:
Stored size: 437 Bytes
Contents
$: << "lib" require "rpm/file" rpm = RPM::File.new(ARGV[0]) #p rpm.lead rpm.signature.tags.each do |tag| #p :tag => [tag.tag, tag.type, tag.count, tag.value] end rpm.header.tags.each do |tag| #next unless tag.tag.to_s =~ /(payload|sig)/ # p :tag => [tag.tag, tag.type, tag.count, tag.value] end require "awesome_print" ap rpm.requires #payload = rpm.payload #fd = File.new("/tmp/rpm.payload", "w") #fd.write(rpm.payload.read)
Version data entries
8 entries across 8 versions & 1 rubygems