summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Shalygin2024-03-30 03:37:18 +0700
committerKonstantin Shalygin2024-03-30 03:37:18 +0700
commita5e70b4969e870e1bf53d46d3f1871cf77bb944f (patch)
tree2d01904a51c5f5084abb28a50b8aa43c3b9d8efb
parentd31c70971dc7b55e95d45e8969e510fcae7971b7 (diff)
downloadaur-ovirt_exporter.tar.gz
Fixes for compat with latest go/makepkg packages
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d2a949daf33..62af22e16755 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = ovirt_exporter
pkgdesc = Exporter for oVirt engine metrics
pkgver = 0.10.1
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/czerwonk/ovirt_exporter
arch = x86_64
arch = aarch64
license = MIT
makedepends = go
- options = !lto
backup = etc/conf.d/prometheus-ovirt-exporter
source = https://github.com/czerwonk/ovirt_exporter/archive/refs/tags/0.10.1.tar.gz
source = prometheus-ovirt-exporter
diff --git a/PKGBUILD b/PKGBUILD
index 888d5e373ef5..269978d33027 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,10 +4,9 @@
pkgbase='ovirt_exporter'
pkgname='prometheus-ovirt-exporter'
pkgver='0.10.1'
-pkgrel='3'
+pkgrel='4'
pkgdesc='Exporter for oVirt engine metrics'
arch=('x86_64' 'aarch64')
-options=(!lto)
_uri='github.com/czerwonk'
url="https://${_uri}/${pkgbase}"
license=('MIT')
@@ -38,7 +37,7 @@ build() {
-trimpath \
-mod="readonly" \
-modcacherw \
- -ldflags "-linkmode external -extldflags ${LDFLAGS}"
+ -ldflags "-linkmode external -extldflags '${LDFLAGS}'"
}
package() {