summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3acf4aa)
raw | patch | inline | side by side (parent: 3acf4aa)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 23 Dec 2014 11:59:44 +0000 (12:59 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 23 Dec 2014 11:59:44 +0000 (12:59 +0100) |
Fixes #874
contrib/redhat/collectd.spec | patch | blob | history |
index 38711a2bbcc2cc0a87c06e1e448a9f439d77a606..97bfa5fc3a45dff00d6f9f3754cabcff48203944 100644 (file)
find %{buildroot} -type f -name perllocal.pod -delete
%if ! %{with_java}
+rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
+rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
%endif
rm -fr %{buildroot}/usr/lib/perl5/
%endif
+%if ! %{with_postgresql}
+rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
+%endif
+
%if ! %{with_python}
rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
%endif
%{_bindir}/collectd-tg
%{_bindir}/collectdctl
%{_sbindir}/collectdmon
-%{_datadir}/collectd/
+%{_datadir}/collectd/types.db
%{_sharedstatedir}/collectd
%{_mandir}/man1/collectd-nagios.1*
%{_mandir}/man1/collectd.1*
%if %{with_java}
%files java
-%{_prefix}/share/collectd/java/collectd-api.jar
-%{_prefix}/share/collectd/java/generic-jmx.jar
+%{_datadir}/collectd/java/collectd-api.jar
+%{_datadir}/collectd/java/generic-jmx.jar
%{_libdir}/%{name}/java.so
%{_mandir}/man5/collectd-java.5*
%endif
%if %{with_postgresql}
%files postgresql
-%{_prefix}/share/collectd/postgresql_default.conf
+%{_datadir}/collectd/postgresql_default.conf
%{_libdir}/%{name}/postgresql.so
%endif