[pacman-dev] [PATCH] makepkg: do not write basever

Allan McRae allan at archlinux.org
Thu Jul 6 03:26:48 UTC 2017


Since 8a02abcf19, this attribute will never exist.  Remove check to write it.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 scripts/makepkg.sh.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 1f1217f4..f9872355 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -644,9 +644,6 @@ write_pkginfo() {
 
 	local fullver=$(get_full_version)
 	write_kv_pair "pkgver" "$fullver"
-	if [[ "$fullver" != "$basever" ]]; then
-		write_kv_pair "basever" "$basever"
-	fi
 
 	# TODO: all fields should have this treatment
 	local spd="${pkgdesc//+([[:space:]])/ }"
-- 
2.13.2


More information about the pacman-dev mailing list