diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-17 11:35:11 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-17 11:40:07 +0200 |
commit | 164c0e29d3747f27018903f72b7512819558b48c (patch) | |
tree | dd3e8e672108df1a1b90b2d729fc1808bd09f0e4 | |
parent | 8371782b5d21ba730227422928352b65e8412f96 (diff) | |
download | rpm-164c0e29d3747f27018903f72b7512819558b48c.tar.gz |
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
(cherry picked from commit 0bac1d421ccdcc719e2e60bcfb4859d0f602510c)
-rw-r--r-- | lib/rpmlead.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c index 14487f29f..32c375367 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; |