Hardwire lead major version to 3 (RhBug:546663)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 17 Dec 2009 09:35:11 +0000 (11:35 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 17 Dec 2009 09:35:11 +0000 (11:35 +0200)
- besides the logic being backwards wrt intended --nodirtokens linkage,
  LSB wants this to be 3 and .. it just makes no difference whatsover
  anyway

lib/rpmlead.c

index 22c29c8..39d20a7 100644 (file)
@@ -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;