build/reqprov.c, rpmbuild.h: export compare_deps()
This commit is contained in:
parent
0cf73c5886
commit
705b043ac2
@ -22,13 +22,6 @@ deps_opt_enabled (void)
|
|||||||
return enabled;
|
return enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
DEP_UN = 0, /* uncomparable */
|
|
||||||
DEP_ST = 1, /* stronger */
|
|
||||||
DEP_WK = -1, /* weaker */
|
|
||||||
DEP_EQ = 2 /* same */
|
|
||||||
} dep_compare_t;
|
|
||||||
|
|
||||||
static dep_compare_t compare_sense_flags (rpmTag tag, int cmp,
|
static dep_compare_t compare_sense_flags (rpmTag tag, int cmp,
|
||||||
rpmsenseFlags a, rpmsenseFlags b)
|
rpmsenseFlags a, rpmsenseFlags b)
|
||||||
{
|
{
|
||||||
@ -81,7 +74,7 @@ static dep_compare_t compare_sense_flags (rpmTag tag, int cmp,
|
|||||||
|
|
||||||
#include "set.h"
|
#include "set.h"
|
||||||
|
|
||||||
static dep_compare_t compare_deps (rpmTag tag,
|
dep_compare_t compare_deps (rpmTag tag,
|
||||||
const char *Aevr, rpmsenseFlags Aflags,
|
const char *Aevr, rpmsenseFlags Aflags,
|
||||||
const char *Bevr, rpmsenseFlags Bflags)
|
const char *Bevr, rpmsenseFlags Bflags)
|
||||||
{
|
{
|
||||||
|
@ -408,6 +408,17 @@ int addReqProv(/*@unused@*/Spec spec, Header h,
|
|||||||
const char * depEVR, int index)
|
const char * depEVR, int index)
|
||||||
/*@modifies h @*/;
|
/*@modifies h @*/;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
DEP_UN = 0, /* uncomparable */
|
||||||
|
DEP_ST = 1, /* stronger */
|
||||||
|
DEP_WK = -1, /* weaker */
|
||||||
|
DEP_EQ = 2 /* same */
|
||||||
|
} dep_compare_t;
|
||||||
|
|
||||||
|
dep_compare_t compare_deps (rpmTag tag,
|
||||||
|
const char *Aevr, rpmsenseFlags Aflags,
|
||||||
|
const char *Bevr, rpmsenseFlags Bflags);
|
||||||
|
|
||||||
/** \ingroup rpmbuild
|
/** \ingroup rpmbuild
|
||||||
* Add rpmlib feature dependency.
|
* Add rpmlib feature dependency.
|
||||||
* @param h header
|
* @param h header
|
||||||
|
Loading…
Reference in New Issue
Block a user