Class: RPM::Conflict

Inherits:
Dependency show all
Defined in:
ext/rpm/dependency.c

Instance Method Summary collapse

Methods inherited from Dependency

#eq?, #flags, #flagstag, #ge?, #gt?, #le?, #lt?, #name, #nametag, #owner, #satisfy?, #version, #versiontag

Constructor Details

#initialize(name, version, flags, owner) ⇒ Object



75
76
77
78
79
80
81
82
83
84
# File 'ext/rpm/dependency.c', line 75

static VALUE
conflict_initialize(VALUE dep, VALUE name, VALUE version,
					  VALUE flags, VALUE owner)
{
	dependency_initialize(dep,name,version,flags,owner);
	rb_ivar_set(dep, id_nametag, INT2NUM(RPMTAG_CONFLICTNAME));
	rb_ivar_set(dep, id_versiontag, INT2NUM(RPMTAG_CONFLICTVERSION));
	rb_ivar_set(dep, id_flagstag, INT2NUM(RPMTAG_CONFLICTFLAGS));
	return dep;
}