From 034679d517b1a80d26a5d04d3e4c053082aad4ac Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Mon, 16 Sep 2013 15:52:52 +0200 Subject: [PATCH] smartd service file wrong path to environment file (#998225) --- smartmontools.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/smartmontools.spec b/smartmontools.spec index 9f69cd5..9bf6d67 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,7 +1,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 6.2 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Group: System Environment/Base License: GPLv2+ @@ -53,6 +53,8 @@ make CXXFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-pie -Wl,-z,relro,-z,now" make CXXFLAGS="$RPM_OPT_FLAGS -fpie" LDFLAGS="-pie -Wl,-z,relro,-z,now" %endif +sed -i 's|/etc/smartmontools/sysconfig|/etc/sysconfig|g' smartd.service + %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install @@ -106,6 +108,9 @@ fi %{_datadir}/%{name} %changelog +* Mon Sep 16 2013 Michal Hlavinka - 1:6.2-2 +- smartd service file wrong path to environment file (#998225) + * Tue Jul 30 2013 Michal Hlavinka - 1:6.2-1 - smartmontools updated to 6.2