diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-07-17 22:22:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 22:22:21 +0200 |
commit | e588f9608d8e23b001c117a09a39990d001f390f (patch) | |
tree | 33f38deeb0a499b2f1ad020fe77ec45ed157e6ba /netdata.spec.in | |
parent | 65196fdf06a2047f24cf2030399dd22202a14d03 (diff) |
netdata/packaging: Enable built-in support for prometheus remote write in packaging (#6480)
* netdata/packaging: [ci skip] Add prometheus remote write plugin deps
* netdata/packaging: [ci skip] adjust for the tests
* netdata/packaging: [ci skip] Apparently we need proto-c too
* netdata/packaging: [ci skip] Add dependencies also
* netdata/packaging: [ci skip] fix suse dependency
* netdata/packaging: [ci skip] epel-release should always go first dumdum
* netdata/packaging: [ci skip] g++ needed for prometheus
* netdata/packaging: First prepare the repo, then start throwing in packages
* netdata/packaging: [ci skip] fix attempt for missing snappy on some debian-based packages
* netdata/packaging: [ci skip] protobuf compiler dep
* netdata/packaging: [ci skip] Add the generic maintainer info and the new website. Also stop pushing snappy to Debian/Stretch, doesnt have it
* netdata/packaging: [ci skip] Remove branch dev setup
* Empty commit to re-trigger Travis
Diffstat (limited to 'netdata.spec.in')
-rw-r--r-- | netdata.spec.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in index 25b5f9a46b..d686906f4e 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -92,6 +92,7 @@ URL: http://my-netdata.io # Build dependencies # BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: make BuildRequires: git BuildRequires: autoconf @@ -190,6 +191,26 @@ BuildRequires: cups-devel Requires: cups # end - cups plugin dependencies +# Prometheus remote write dependencies +BuildRequires: snappy-devel +BuildRequires: protobuf-devel +%if 0%{?suse_version} +BuildRequires: libprotobuf-c-devel +%else +BuildRequires: protobuf-c-devel +%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 of dependency management configuration # ##################################################################### |