-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Description
Hi,
Here's what I had to change in order to successfully build an rpm of HEAD (Jan 19th 2019).
- The rpm 'Version' cannot have dashes. The default string was "v1.12.0-rc3-11-gd34a9d8" so I just changed it to "1.12.0".
- The changelog is in reverse chronological order. This prevents a successful rpm build.
Please fix the changelog order. Thank you. - /usr/lib64/netdata/conf.d/node.d wasn't present and this killed the rpm build. I commented this out.
Here's my diff.
diff --git a/netdata.spec.in b/netdata.spec.in
index 43670ca..5a6e970 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -81,7 +81,7 @@ Recommends: python2-psycopg2 \
Summary: Real-time performance monitoring, done right
Name: @PACKAGE_NAME@
-Version: @PACKAGE_RPM_VERSION@
+Version: 1.12.0
Release: 1%{?dist}
License: GPLv3+
Group: Applications/System
@@ -226,7 +226,7 @@ rm -rf "${RPM_BUILD_ROOT}"
%dir %{_libdir}/%{name}/conf.d/health.d
%dir %{_libdir}/%{name}/conf.d/python.d
%dir %{_libdir}/%{name}/conf.d/charts.d
-%dir %{_libdir}/%{name}/conf.d/node.d
+#%dir %{_libdir}/%{name}/conf.d/node.d
%dir %{_libdir}/%{name}/conf.d/statsd.d
%if %{with systemd}
@@ -241,7 +241,7 @@ rm -rf "${RPM_BUILD_ROOT}"
%{_datadir}/%{name}/web
%changelog
-* Sun Nov 15 2015 Alon Bar-Lev alonbl@redhat.com - 0.0.0-1
-- Initial add.
- Wed Jan 02 2019 Pawel Krupa pkrupa@redhat.com - 0.0.0-2
- Fix permissions for log files
+* Sun Nov 15 2015 Alon Bar-Lev alonbl@redhat.com - 0.0.0-1
+- Initial add.