From: Laura Hild Date: Thu, 8 Sep 2022 20:32:41 +0000 (-0400) Subject: Require systemd-devel to rpmbuild SMART plugin X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eab83f57b376aabc1f1ef2fdd3c8dd61de0da198;p=thirdparty%2Fcollectd.git Require systemd-devel to rpmbuild SMART plugin --- diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 04b8dd128..8443c1f49 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -283,7 +283,7 @@ Summary: Statistics collection and monitoring daemon Name: collectd Version: 5.12.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://collectd.org Source: https://collectd.org/files/%{name}-%{version}.tar.bz2 License: GPLv2 @@ -893,6 +893,9 @@ Summary: SMART plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libatasmart-devel +%if 0%{?fedora} || 0%{?rhel} >= 7 +BuildRequires: systemd-devel +%endif %description smart Collect SMART statistics, notably load cycle count, temperature and bad sectors. @@ -3018,6 +3021,9 @@ fi %doc contrib/ %changelog +* Thu Sep 08 2022 Laura Hild - 5.12.0-2 +- require systemd-devel (libudev.h) to build the SMART plugin + * Wed May 05 2021 Fabien Wernli - 5.12.0-1 - Update to 5.12.0 - Remove netstat_udp