[arch-commits] Commit in prometheus-blackbox-exporter/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Apr 18 18:23:22 UTC 2021
Date: Sunday, April 18, 2021 @ 18:23:22
Author: jelle
Revision: 412865
Make the package reproducible by passing the correct date
Modified:
prometheus-blackbox-exporter/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-18 15:52:18 UTC (rev 412864)
+++ PKGBUILD 2021-04-18 18:23:22 UTC (rev 412865)
@@ -2,7 +2,7 @@
pkgname=prometheus-blackbox-exporter
pkgver=0.18.0
-pkgrel=2
+pkgrel=3
pkgdesc="Allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP"
arch=('x86_64')
url="https://github.com/prometheus/blackbox_exporter"
@@ -30,7 +30,7 @@
-X github.com/prometheus/common/version.Revision=$pkgver \
-X github.com/prometheus/common/version.Branch=tarball \
-X github.com/prometheus/common/version.BuildUser=someone at builder \
- -X github.com/prometheus/common/version.BuildDate=$(date -d@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
+ -X github.com/prometheus/common/version.BuildDate=$(date --date=@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
.
}
More information about the arch-commits
mailing list