[autofs] - use spec file systemd unit file location.

Ian Kent iankent at fedoraproject.org
Thu Oct 18 07:58:21 UTC 2012


commit 9848f262feefff082da5433b7614d6cdb291a48d
Author: Ian Kent <ikent at redhat.com>
Date:   Thu Oct 18 15:57:49 2012 +0800

    - use spec file systemd unit file location.

 autofs.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/autofs.spec b/autofs.spec
index eeeef04..18eb4b8 100644
--- a/autofs.spec
+++ b/autofs.spec
@@ -8,7 +8,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.7
-Release: 6%{?dist}
+Release: 7%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: System Environment/Daemons
@@ -122,7 +122,7 @@ mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
 mkdir -p -m755 $RPM_BUILD_ROOT/etc/sysconfig
 mkdir -p -m755 $RPM_BUILD_ROOT/etc/auto.master.d
 
-make install mandir=%{_mandir} initdir=%{_initrddir} INSTALLROOT=$RPM_BUILD_ROOT
+make install mandir=%{_mandir} initdir=%{_initrddir} systemddir=%{_unitdir} INSTALLROOT=$RPM_BUILD_ROOT
 echo make -C redhat
 make -C redhat
 install -m 755 -d $RPM_BUILD_ROOT/misc
@@ -194,6 +194,9 @@ fi
 %dir /etc/auto.master.d
 
 %changelog
+* Thu Oct 18 2012 Ian Kent <ikent at redhat.com> - 1:5.0.7-7
+- use spec file systemd unit file location.
+
 * Thu Oct 18 2012 Ian Kent <ikent at redhat.com> - 1:5.0.7-6
 - fix recursive mount deadlock.
 - increase file map read buffer size.


More information about the scm-commits mailing list