diff mbox

[pacman-dev] makepkg: do not write basever

Message ID 20170706032648.17224-1-allan@archlinux.org
State Accepted, archived
Headers show

Commit Message

Allan McRae July 6, 2017, 3:26 a.m. UTC
Since 8a02abcf19, this attribute will never exist.  Remove check to write it.

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

Patch

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:]])/ }"