]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Require systemd-devel to rpmbuild SMART plugin
authorLaura Hild <lsh@jlab.org>
Thu, 8 Sep 2022 20:32:41 +0000 (16:32 -0400)
committerMatthias Runge <mrunge@matthias-runge.de>
Fri, 9 Sep 2022 13:39:11 +0000 (15:39 +0200)
contrib/redhat/collectd.spec

index 04b8dd128efb7eab4a505b8f3b4aed6fc1bf62cf..8443c1f499c8c9d51f8d5ed01a2c40e64c2eef81 100644 (file)
 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 <lsh@jlab.org> - 5.12.0-2
+- require systemd-devel (libudev.h) to build the SMART plugin
+
 * Wed May 05 2021 Fabien Wernli <rpmbuild@faxmodem.org> - 5.12.0-1
 - Update to 5.12.0
 - Remove netstat_udp