func (c *dependency) Flags() int {
	return c.flags
}
Flags determines the nature of the package relationship and the comparison
used for the given version constraint.
package rpm
import (
	"fmt"
	"github.com/cavaliergopher/rpm/pkg/rpmver"
)
const (
	DepFlagAny            = 0
	DepFlagLesser         = (1 << 1)
	DepFlagGreater        = (1 << 2)
	DepFlagEqual          = (1 << 3)
	DepFlagLesserOrEqual  = (DepFlagEqual | DepFlagLesser)
	DepFlagGreaterOrEqual = (DepFlagEqual | DepFlagGreater)
	DepFlagPrereq         = (1 << 6)
	DepFlagScriptPre      = (1 << 9)
	DepFlagScriptPost     = (1 << 10)
	DepFlagScriptPreUn    = (1 << 11)
	DepFlagScriptPostUn   = (1 << 12)
	DepFlagRpmlib         = (1 << 24)
)
type Dependency interface {
	rpmver.Interface
	Flags() int  
}
type dependency struct {
	flags   int
	name    string
	epoch   int
	version string
	release string
}