Fix CentOS 7 RPM build failures. (#7993)
* Correct date in RPM spec file changelog. 2020-01-01 was a Wednesday, not a Thursday. * Don't mark go.d.plugin executable in staging area. This prevents it from being checked for C-style debug info that it doesn't have, thus allowing the build to continue correctly.
Austin S. Hemmelgarn committed
Feb 6, 2020 at 15:12 UTC
f5995f9c9e84a2758886616d56e8dcf58c9f3005
1 file changed
+2
-2
netdata.spec.in
+2
-2
@@ -395,7 +395,7 @@ install_go() {
395
return 0
396
}
397
install_go
398
-install -m 0750 -p go.d.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/go.d.plugin"
398
+install -m 0640 -p go.d.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/go.d.plugin"
399
400
%pre
401
@@ -517,7 +517,7 @@ are sensor monitoring, system event monitoring, power control, and serial-over-L
517
%attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
518
519
%changelog
520
-* Thu Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
520
+* Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
521
- Add explicit installation of log and cache directories
522
- Clean up build dependencies.
523
* Thu Dec 19 2019 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-11