|
@@ -5,6 +5,11 @@
|
|
#TODO: Temporary fix for the build-id error during go.d plugin set up
|
|
#TODO: Temporary fix for the build-id error during go.d plugin set up
|
|
%global _missing_build_ids_terminate_build 0
|
|
%global _missing_build_ids_terminate_build 0
|
|
|
|
|
|
|
|
+# XXX: We are using automatic `Requires:` generation for libraries
|
|
|
|
+# whenever possible, DO NOT LIST LIBRARY DEPENDENCIES UNLESS THE RESULTANT
|
|
|
|
+# PACKAGE IS BROKEN WITHOUT THEM.
|
|
|
|
+AutoReqProv: yes
|
|
|
|
+
|
|
%if "@HAVE_LIBBPF@" == "1"
|
|
%if "@HAVE_LIBBPF@" == "1"
|
|
%global have_bpf 1
|
|
%global have_bpf 1
|
|
%else
|
|
%else
|
|
@@ -148,31 +153,10 @@ BuildRequires: json-c-devel
|
|
# Runtime dependencies
|
|
# Runtime dependencies
|
|
#
|
|
#
|
|
Requires: python
|
|
Requires: python
|
|
-Requires: zlib
|
|
|
|
-%if 0%{?suse_version}
|
|
|
|
-# for libuv, Requires version >= 1
|
|
|
|
-Requires: libuv1
|
|
|
|
-Requires: libJudy1
|
|
|
|
-Requires: libjson-c4
|
|
|
|
-Requires: libuuid1
|
|
|
|
-%else
|
|
|
|
-# for libuv, Requires version >= 1
|
|
|
|
-Requires: libuv >= 1
|
|
|
|
-Requires: Judy
|
|
|
|
-Requires: json-c
|
|
|
|
-Requires: libuuid
|
|
|
|
-%endif
|
|
|
|
-Requires: openssl
|
|
|
|
-Requires: lz4
|
|
|
|
|
|
|
|
# Core requirements for the install to succeed
|
|
# Core requirements for the install to succeed
|
|
Requires(pre): /usr/sbin/groupadd
|
|
Requires(pre): /usr/sbin/groupadd
|
|
Requires(pre): /usr/sbin/useradd
|
|
Requires(pre): /usr/sbin/useradd
|
|
-%if 0%{?suse_version} >= 1140
|
|
|
|
-Requires(post): libcap1
|
|
|
|
-%else
|
|
|
|
-Requires(post): libcap
|
|
|
|
-%endif
|
|
|
|
|
|
|
|
%{netdata_initd_requires}
|
|
%{netdata_initd_requires}
|
|
|
|
|
|
@@ -188,19 +172,6 @@ BuildRequires: libmnl-devel
|
|
BuildRequires: libnetfilter_acct-devel
|
|
BuildRequires: libnetfilter_acct-devel
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-%if 0%{?suse_version}
|
|
|
|
-Requires: libmnl0
|
|
|
|
-%else
|
|
|
|
-Requires: libmnl
|
|
|
|
-%endif
|
|
|
|
-
|
|
|
|
-%if 0%{?fedora}
|
|
|
|
-Requires: libnetfilter_acct
|
|
|
|
-%else
|
|
|
|
-%if 0%{?suse_version} >= 1140
|
|
|
|
-Requires: libnetfilter_acct1
|
|
|
|
-%endif
|
|
|
|
-%endif
|
|
|
|
# end nfacct plugin dependencies
|
|
# end nfacct plugin dependencies
|
|
|
|
|
|
# freeipmi plugin dependencies
|
|
# freeipmi plugin dependencies
|
|
@@ -221,16 +192,6 @@ BuildRequires: libprotobuf-c-devel
|
|
%else
|
|
%else
|
|
BuildRequires: protobuf-c-devel
|
|
BuildRequires: protobuf-c-devel
|
|
%endif
|
|
%endif
|
|
-
|
|
|
|
-%if 0%{?suse_version}
|
|
|
|
-Requires: libsnappy1
|
|
|
|
-Requires: protobuf-c
|
|
|
|
-Requires: libprotobuf15
|
|
|
|
-%else
|
|
|
|
-Requires: snappy
|
|
|
|
-Requires: protobuf-c
|
|
|
|
-Requires: protobuf
|
|
|
|
-%endif
|
|
|
|
# end - prometheus remote write dependencies
|
|
# end - prometheus remote write dependencies
|
|
|
|
|
|
# #####################################################################
|
|
# #####################################################################
|
|
@@ -559,6 +520,8 @@ are sensor monitoring, system event monitoring, power control, and serial-over-L
|
|
%attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
|
|
%attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Sep 16 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-14
|
|
|
|
+- Convert to using 'AutoReq: yes' for library dependencies.
|
|
* Thu Feb 13 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-13
|
|
* Thu Feb 13 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-13
|
|
- Add handling for custom libmosquitto fork
|
|
- Add handling for custom libmosquitto fork
|
|
* Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
|
|
* Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
|