]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd.spec
- libvirt package created only on libvirt bcond
[packages/collectd.git] / collectd.spec
index ae5c1f6fd59d7c5558a0f4afdeeab73740d9beaf..68a6548131e714a2952f6916939d380ff1a32562 100644 (file)
@@ -68,7 +68,7 @@ Summary:      Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
 Version:       5.0.0
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
@@ -98,6 +98,7 @@ BuildRequires:        libltdl-devel
 BuildRequires: libmemcached-devel
 BuildRequires: libnetlink-devel
 %{?with_netlink:BuildRequires: libnetlink-devel}
+%{?with_libvirt:BuildRequires: libnl1-devel}
 %{?with_notify:BuildRequires:  libnotify-devel >= 0.7.0}
 %{?with_ping:BuildRequires:    liboping-devel}
 %{?with_dns:BuildRequires:     libpcap-devel}
@@ -123,6 +124,7 @@ BuildRequires:      which
 #BuildRequires:        xfsprogs-devel
 %{?with_xmms:BuildRequires:    xmms-devel}
 BuildRequires: yajl-devel
+BuildRequires: numactl-devel
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -1624,10 +1626,12 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
 %attr(755,root,root) %{_libdir}/%{name}/irq.so
 
+%if %{with libvirt}
 %files libvirt
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
 %attr(755,root,root) %{_libdir}/%{name}/libvirt.so
+%endif
 
 %files load
 %defattr(644,root,root,755)
This page took 0.083041 seconds and 4 git commands to generate.