[nut/f15] fix upsdrvctl location in systemd files
Michal Hlavinka
mhlavink at fedoraproject.org
Mon Jul 2 15:33:07 UTC 2012
commit 1ae4c98cd29f9976d3c51977e76a836c82608e0d
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Mon Jul 2 17:33:06 2012 +0200
fix upsdrvctl location in systemd files
nut.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index c2b74ed..b0e164e 100644
--- a/nut.spec
+++ b/nut.spec
@@ -14,7 +14,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.6.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Applications/System
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -135,6 +135,9 @@ sed -i 's|LIBSSL_LDFLAGS|LIBSSL_LIBS|' lib/libupsclient-config.in
sed -i 's|LIBSSL_LDFLAGS|LIBSSL_LIBS|' lib/libupsclient.pc.in
%build
+sed -i scripts/systemd/nutshutdown.in -e 's|@SBINDIR@/upsdrvctl|@driverexecdir@/upsdrvctl|'
+sed -i scripts/systemd/nut-driver.service.in -e 's|@SBINDIR@/upsdrvctl|@driverexecdir@/upsdrvctl|'
+
autoreconf -i
%configure \
--with-all \
@@ -407,6 +410,12 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libupsclient.pc
%changelog
+* Mon Jul 02 2012 Michal Hlavinka <mhlavink at redhat.com> - 2.6.3-5
+- fix upsdrvctl location in systemd files
+
+* Mon Jul 02 2012 Michal Hlavinka <mhlavink at redhat.com> - 2.6.3-4
+- fix upsdrvctl location in systemd files
+
* Thu May 31 2012 Michal Hlavinka <mhlavink at redhat.com> - 2.6.3-4
- fix heap-based buffer overflow due improper processing of non-printable
characters in random network data (CVE-2012-2944)
More information about the scm-commits
mailing list