diff --git a/opentsdb.spec.in b/opentsdb.spec.in index 5435bcd56d..bbdad28db1 100644 --- a/opentsdb.spec.in +++ b/opentsdb.spec.in @@ -56,6 +56,7 @@ make rm -rf %{buildroot} make install DESTDIR=%{buildroot} mkdir -p %{buildroot}/var/cache/opentsdb +mkdir -p %{buildroot}%{_datarootdir}/opentsdb/plugins # TODO: Use alternatives to manage the init script and configuration. %clean @@ -66,6 +67,7 @@ rm -rf %{buildroot} %defattr(644,root,root,755) %attr(0755,root,root) %{_bindir}/* %attr(0755,root,root) %{_datarootdir}/opentsdb/bin/*.sh +%attr(0755,root,root) %{_datarootdir}/opentsdb/plugins %attr(0755,root,root) %{_datarootdir}/opentsdb/tools/* %attr(0755,root,root) %{_datarootdir}/opentsdb/etc/init.d/opentsdb %config %{_datarootdir}/opentsdb/etc/opentsdb/opentsdb.conf @@ -88,4 +90,4 @@ exit 0 rm -rf /etc/opentsdb rm -rf /etc/init.d/opentsdb -exit 0 \ No newline at end of file +exit 0