summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2014-11-09 13:28:19 (GMT)
committerArkadiusz Miśkiewicz2014-11-09 13:28:19 (GMT)
commit01063d49b68a1c900e5bba6550471b2724ed3515 (patch)
tree0d81ba1b426fc849da1e933c156cfa72aef0b854
parenta833b46b5fcc930036c8ff884ba09c76acc86525 (diff)
downloadsmartmontools-01063d49b68a1c900e5bba6550471b2724ed3515.zip
smartmontools-01063d49b68a1c900e5bba6550471b2724ed3515.tar.gz
- rel 3; use mktempauto/th/smartmontools-6.3-3
-rw-r--r--smartd-runner4
-rw-r--r--smartmontools.spec2
2 files changed, 3 insertions, 3 deletions
diff --git a/smartd-runner b/smartd-runner
index a85961c..0ff4e70 100644
--- a/smartd-runner
+++ b/smartd-runner
@@ -1,6 +1,6 @@
-#!/bin/bash -e
+#!/bin/sh -e
-tmp=$(tempfile)
+tmp=$(mktemp) || exit 1
cat >$tmp
run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \
diff --git a/smartmontools.spec b/smartmontools.spec
index 19987af..514e8ae 100644
--- a/smartmontools.spec
+++ b/smartmontools.spec
@@ -17,7 +17,7 @@ Summary(pl.UTF-8): Monitorowanie i kontrola dysków za pomocą S.M.A.R.T
Summary(pt.UTF-8): smartmontools - para monitorar discos e dispositivos S.M.A.R.T.
Name: smartmontools
Version: 6.3
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/System
Source0: http://downloads.sourceforge.net/smartmontools/%{name}-%{version}.tar.gz