collectd.spec: el7 fails to find python without which
authorR.I.Pienaar <rip@devco.net>
Sat, 30 Jul 2016 16:23:25 +0000 (18:23 +0200)
committerR.I.Pienaar <rip@devco.net>
Sat, 30 Jul 2016 16:25:27 +0000 (18:25 +0200)
On very minimal build centos machines the yum-builddep should install
all it needs to succesfully build on centos, but this misses which and
so python cant be found.

contrib/redhat/collectd.spec

index 10546c8..5b018f8 100644 (file)
@@ -228,7 +228,7 @@ Source:             https://collectd.org/files/%{name}-%{version}.tar.bz2
 License:       GPLv2
 Group:         System Environment/Daemons
 BuildRoot:     %{_tmppath}/%{name}-%{version}-root
 License:       GPLv2
 Group:         System Environment/Daemons
 BuildRoot:     %{_tmppath}/%{name}-%{version}-root
-BuildRequires: libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel
+BuildRequires: libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel, which
 Vendor:                collectd development team <collectd@verplant.org>
 
 %if 0%{?fedora} || 0%{?rhel} >= 7
 Vendor:                collectd development team <collectd@verplant.org>
 
 %if 0%{?fedora} || 0%{?rhel} >= 7