[arch-commits] Commit in lsb-release/trunk (PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Sat Jul 11 14:33:42 UTC 2020
Date: Saturday, July 11, 2020 @ 14:33:42
Author: diabonas
Revision: 663266
upgpkg: lsb-release 1.4-17: remove timestamp from compressed man page for reproducibility
Modified:
lsb-release/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-11 14:25:28 UTC (rev 663265)
+++ PKGBUILD 2020-07-11 14:33:42 UTC (rev 663266)
@@ -4,7 +4,7 @@
pkgname=lsb-release
pkgver=1.4
-pkgrel=16
+pkgrel=17
pkgdesc="LSB version query program"
arch=('any')
url="http://www.linuxbase.org/"
@@ -22,6 +22,10 @@
patch -Np0 < "$srcdir/lsb_release_description.patch"
make
+
+ # The automatically generated gzipped man page includes a timestamp and is therefore not reproducible,
+ # uncompress it again and rely on makepkg to compress the man page reproducibly
+ gunzip lsb_release.1.gz
}
package() {
@@ -33,6 +37,6 @@
echo "DISTRIB_RELEASE=rolling" >> "$pkgdir/etc/lsb-release"
echo "DISTRIB_DESCRIPTION=\"Arch Linux\"" >> "$pkgdir/etc/lsb-release"
- install -Dm 644 lsb_release.1.gz "$pkgdir/usr/share/man/man1/lsb_release.1.gz"
+ install -Dm 644 lsb_release.1 "$pkgdir/usr/share/man/man1/lsb_release.1"
install -Dm 755 lsb_release "$pkgdir/usr/bin/lsb_release"
}
More information about the arch-commits
mailing list