From: Panu Matilainen Date: Thu, 17 Dec 2009 09:35:11 +0000 (+0200) Subject: Hardwire lead major version to 3 (RhBug:546663) X-Git-Tag: rpm-4.9.0-beta1~1117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bac1d421ccdcc719e2e60bcfb4859d0f602510c;p=platform%2Fupstream%2Frpm.git Hardwire lead major version to 3 (RhBug:546663) - besides the logic being backwards wrt intended --nodirtokens linkage, LSB wants this to be 3 and .. it just makes no difference whatsover anyway --- diff --git a/lib/rpmlead.c b/lib/rpmlead.c index 22c29c8..39d20a7 100644 --- a/lib/rpmlead.c +++ b/lib/rpmlead.c @@ -47,7 +47,7 @@ rpmlead rpmLeadNew(void) rpmGetArchInfo(NULL, &archnum); rpmGetOsInfo(NULL, &osnum); - l->major = (_noDirTokens ? 4: 3); + l->major = 3; l->minor = 0; l->archnum = archnum; l->osnum = osnum;