[smartmontools/f15/master] own %{_datadir}/%{name} and %{_libexecdir}/%{name} dirs
Michal Hlavinka
mhlavink at fedoraproject.org
Thu Mar 3 09:30:29 UTC 2011
commit ee8e2ff5976fcb3b90b603e5643a74d15da71226
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Thu Mar 3 10:30:15 2011 +0100
own %{_datadir}/%{name} and %{_libexecdir}/%{name} dirs
smartmontools.spec | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/smartmontools.spec b/smartmontools.spec
index b954feb..7f4c92f 100644
--- a/smartmontools.spec
+++ b/smartmontools.spec
@@ -1,7 +1,7 @@
Summary: Tools for monitoring SMART capable hard disks
Name: smartmontools
Version: 5.40
-Release: 6%{?dist}
+Release: 7%{?dist}
Epoch: 1
Group: System Environment/Base
License: GPLv2+
@@ -96,9 +96,8 @@ if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart smartd.service >/dev/null 2>&1 || :
fi
-
%triggerun -- smartmontools < 1:5.40-4
-[ /sbin/chkconfig smartd ] && /bin/systemctl enable smartd.service >/dev/null 2>&1 || :
+/sbin/chkconfig smartd && /bin/systemctl enable smartd.service >/dev/null 2>&1 || :
%files
@@ -112,10 +111,13 @@ fi
%{_sbindir}/update-smart-drivedb
%{_sbindir}/smartctl
%{_mandir}/man?/smart*.*
-%{_libexecdir}/%{name}/smartdnotify
-%{_datadir}/%{name}/drivedb.h
+%{_libexecdir}/%{name}
+%{_datadir}/%{name}
%changelog
+* Thu Mar 03 2011 Michal Hlavinka <mhlavink at redhat.com> - 1:5.40-7
+- own %%{_datadir}/%%{name} and %%{_libexecdir}/%%{name} dirs
+
* Thu Feb 17 2011 Michal Hlavinka <mhlavink at redhat.com> - 1:5.40-6
- notify users when disk is failing
More information about the scm-commits
mailing list