%build
%configure \
--docdir="%{_docdir}/%{name}-%{version}" \
- --enable-plugin-plugin-nfacct \
+ --enable-plugin-nfacct \
--with-zlib \
--with-math \
--with-user=netdata \
find "%{buildroot}" -name .keep -exec rm {} \;
%files
-%attr(4755, root, root) %{_libexecdir}/%{name}/plugins.d/apps.plugin
%attr(-, netdata, netdata) %dir %{_localstatedir}/cache/%{name}/
%attr(-, netdata, netdata) %dir %{_localstatedir}/log/%{name}/
+%config(noreplace) %{_sysconfdir}/%{name}/
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_libexecdir}/%{name}/
-%{_sysconfdir}/%{name}/
%changelog
* Sun Nov 15 2015 Alon Bar-Lev <alonbl@redhat.com> - 1.0.0-1