summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorPavlos Emm. Katsoulakis <paul@netdata.rocks>2019-08-16 12:03:36 +0300
committerPavlos Emm. Katsoulakis <paul@netdata.rocks>2019-08-16 12:03:36 +0300
commitc0604c5879a618f8550627926e41570efff634a3 (patch)
treec97139d9a3e0a698d0a509aea3e70e6a532d9173 /netdata.spec.in
parentf2e1b090fd565392e2c482bb56290357687df44e (diff)
netdata/packaging: [ci skip] The proposed flag did not work, removing and re-arranging the install of the binary
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index 8915773b1b..cb65133f0d 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -6,10 +6,6 @@
# error.
%global __os_install_post %{nil}
-# There is an issue with build-id over the go.d binary raised on RHEL/fedora distributions
-# We use this workaround as per the https://github.com/rpm-software-management/rpm/issues/367#issuecomment-350131349
-%global _missing_build_ids_terminate_build 0
-
# Mitigate the cross-distro mayhem by strictly defining the libexec destination
%define _prefix /usr
%define _sysconfdir /etc
@@ -379,12 +375,13 @@ install_go() {
# Install files
tar -xf "${tmp}/config.tar.gz" -C "${RPM_BUILD_ROOT}%{_libdir}/%{name}/conf.d/"
tar xf "${tmp}/${GO_PACKAGE_BASENAME}"
- mv "${GO_PACKAGE_BASENAME/\.tar\.gz/}" "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/go.d.plugin"
+ mv "${GO_PACKAGE_BASENAME/\.tar\.gz/}" "go.d.plugin"
rm -rf "${tmp}"
fi
return 0
}
install_go
+install -m 0750 -p go.d.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/go.d.plugin"
%pre