From 9eeb95470b49529998d0518e3a89638400dca858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Tue, 29 Mar 2011 14:51:57 +0300
Subject: [PATCH] apk-tools-2.1.0_pre1

---
 Makefile    | 2 +-
 src/fetch.c | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 7499414b..e70c8bf1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 -include config.mk
 
 PACKAGE := apk-tools
-VERSION := 2.0.7
+VERSION := 2.1.0_pre1
 
 ##
 # Default directories
diff --git a/src/fetch.c b/src/fetch.c
index 0f39ecd2..09e3b9d3 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -109,12 +109,11 @@ static int fetch_package(struct fetch_ctx *fctx,
 			return 0;
 	}
 
-	apk_message("Downloading %s-" BLOB_FMT, pkg->name->name,
-		    BLOB_PRINTF(*pkg->version));
+	apk_message("Downloading " PKG_VER_FMT, PKG_VER_PRINTF(pkg));
 	repo = apk_db_select_repo(db, pkg);
 	if (repo == NULL) {
-		apk_error("%s-" BLOB_FMT ": package is not currently available",
-			  pkg->name->name, BLOB_PRINTF(*pkg->version));
+		apk_error(PKG_VER_FMT ": package is not currently available",
+			  PKG_VER_PRINTF(pkg));
 		return -1;
 	}
 
-- 
GitLab