summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2024-02-06 09:29:57 -0500
committerGitHub <noreply@github.com>2024-02-06 09:29:57 -0500
commit9dec08180ce639ec3f8ef1ddeefbfa03509002b3 (patch)
tree10adbe5a7af71b1bd4d8a5a641ccdf6d8f567b31 /netdata.spec.in
parentae07ffe7b7db16649ea580ca48584bdd616207d1 (diff)
Assorted cleanup of native packaging code. (#16640)
* Assorted cleanup of DEB packaging code. * Assorted cleanup of the RPM spec file. * DEB package fixes.
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in49
1 files changed, 1 insertions, 48 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index e1a2d2acd4..1a099ce6f0 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -10,15 +10,10 @@
AutoReqProv: yes
# This is temporary and should eventually be resolved. This bypasses
-# the default rhel __os_install_p,ost which throws a python compile
+# the default rhel __os_install_post which throws a python compile
# error.
%global __os_install_post %{nil}
-# We don’t want LTO as it has a minimal performance impact at runtime
-# but a huge impact on build times (we want our CI to not take multiple
-# hours to finish).
-%global _lto_cflags %nil
-
# Use our custom CMake version from our package builders if we can’t find cmake.
%if 0%{?centos_ver} == 7
%global __cmake /cmake/bin/cmake
@@ -446,48 +441,6 @@ install -m 755 -d "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d"
install -m 644 -p "%{__cmake_builddir}/system/logrotate/%{name}" "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}"
# ###########################################################
-# Install freeipmi
-#%if 0%{?_have_freeipmi}
-#install -m 4750 -p freeipmi.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/freeipmi.plugin"
-#%endif
-
-# ###########################################################
-# Install apps.plugin
-#install -m 4750 -p apps.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/apps.plugin"
-
-# ###########################################################
-# Install debugfs.plugin
-#install -m 0750 -p debugfs.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/debugfs.plugin"
-
-# ###########################################################
-# Install systemd-journal.plugin
-#install -m 4750 -p systemd-journal.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin"
-
-# ###########################################################
-# Install logs-management.plugin
-#install -m 4750 -p logs-management.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/logs-management.plugin"
-
-# ###########################################################
-# Install perf.plugin
-#install -m 4750 -p perf.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/perf.plugin"
-
-# ###########################################################
-# Install ebpf.plugin
-#%if 0%{?_have_ebpf}
-#install -m 4750 -p ebpf.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/ebpf.plugin"
-#%endif
-
-# ###########################################################
-# Install cups.plugin
-#%if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7
-#install -m 0750 -p cups.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/cups.plugin"
-#%endif
-
-# ###########################################################
-# Install slabinfo.plugin
-#install -m 4750 -p slabinfo.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/slabinfo.plugin"
-
-# ###########################################################
# Install cache and log directories
install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/cache/%{name}"
install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/log/%{name}"