lsb-release: fix likely reproducabilty timestamp

Remove timestamp from gzipped manpage.

(From OE-Core rev: bd0236d1b35831b23882e1f1af86504d62e5d0b9)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeremy A. Puhlman 2020-02-27 15:04:30 -08:00 committed by Richard Purdie
parent 09a5b4e65c
commit 520fa7ee18
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
From fb0b58be938bab5571ac0bdec3725f6d88b07e9f Mon Sep 17 00:00:00 2001
From: Jeremy Puhlman <jpuhlman@mvista.com>
Date: Sat, 22 Feb 2020 19:01:28 +0000
Subject: [PATCH] Remove timestamp from manpage
Upstream-Status: Submitted [lsb-discuss@lists.linux-foundation.org]
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 04fdecd..5be8081 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ man: lsb_release.1.gz
lsb_release.1.gz: lsb_release
@./help2man -N --include ./lsb_release.examples --alt_version_key=program_version ./lsb_release >lsb_release.1
- @gzip -9f lsb_release.1
+ @gzip -9fn lsb_release.1
install: all
install -D -m 644 lsb_release.1.gz ${mandir}/man1/lsb_release.1.gz
--
2.13.3

View File

@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf"
SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar.gz \
file://0001-fix-lsb_release-to-work-with-busybox-head-and-find.patch \
file://0001-Remove-timestamp-from-manpage.patch \
"
SRC_URI[md5sum] = "30537ef5a01e0ca94b7b8eb6a36bb1e4"