From 65826761508d1b9effd62e7665d6db23b6fabe2f Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 1 Jan 2011 16:04:42 +0200 Subject: various: use APK_DEPMASK_REQUIRE where applicable .. instead of the longer flag combo. --- src/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/package.c') diff --git a/src/package.c b/src/package.c index d79fc4a..dfd9cc9 100644 --- a/src/package.c +++ b/src/package.c @@ -193,7 +193,7 @@ int apk_dep_from_blob(struct apk_dependency *dep, struct apk_database *db, { struct apk_name *name; apk_blob_t bname, bop, bver = APK_BLOB_NULL; - int mask = APK_VERSION_LESS | APK_VERSION_EQUAL | APK_VERSION_GREATER; + int mask = APK_DEPMASK_REQUIRE; /* [!]name[<,<=,=,>=,>]ver */ if (blob.ptr[0] == '!') { -- cgit v1.2.3-70-g09d2