mock build
This commit is contained in:
31
locallibs/ruby-rpm-ffi/lib/rpm/c/rpmfi.rb
Normal file
31
locallibs/ruby-rpm-ffi/lib/rpm/c/rpmfi.rb
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
module RPM
|
||||
module C
|
||||
FileAttrs = enum(:rpmfileAttrs, [
|
||||
:none, 0,
|
||||
:config, (1 << 0),
|
||||
:doc, (1 << 1),
|
||||
:icon, (1 << 2),
|
||||
:missingok, (1 << 3),
|
||||
:noreplace, (1 << 4),
|
||||
:specfile, (1 << 5),
|
||||
:ghost, (1 << 6),
|
||||
:license, (1 << 7),
|
||||
:readme, (1 << 8),
|
||||
:exclude, (1 << 9),
|
||||
:unpatched, (1 << 10),
|
||||
:pubkey, (1 << 11)
|
||||
])
|
||||
typedef :rpmFlags, :rpmfileAttrs
|
||||
|
||||
FileState = enum(:rpmfileState,
|
||||
:missing, -1,
|
||||
:normal, 0,
|
||||
:replaced, 1,
|
||||
:notinstalled, 2,
|
||||
:netshared, 3,
|
||||
:wrongcolor, 4)
|
||||
|
||||
typedef :pointer, :rpmRelocation
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user