summaryrefslogtreecommitdiff
path: root/lib/rpmlead.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-17 11:35:11 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-17 11:35:11 +0200
commit0bac1d421ccdcc719e2e60bcfb4859d0f602510c (patch)
tree02514a59efba59c2cb2c686c12052b918ae62975 /lib/rpmlead.c
parent79b0ebedc13185f2d85e688d8cd4e007ddea70e1 (diff)
downloadlibrpm-tizen-0bac1d421ccdcc719e2e60bcfb4859d0f602510c.tar.gz
librpm-tizen-0bac1d421ccdcc719e2e60bcfb4859d0f602510c.tar.bz2
librpm-tizen-0bac1d421ccdcc719e2e60bcfb4859d0f602510c.zip
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
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r--lib/rpmlead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c
index 22c29c871..39d20a7d1 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;