[ahcpd/f16: 2/2] f16 unitdir fix.

Jon Ciesla limb at fedoraproject.org
Thu Aug 30 12:49:02 UTC 2012


commit d1233bc167ce15b7fecfcc8cc9045b1193115851
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Thu Aug 30 07:48:06 2012 -0500

    f16 unitdir fix.

 ahcpd.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ahcpd.spec b/ahcpd.spec
index 3a68876..09e9285 100644
--- a/ahcpd.spec
+++ b/ahcpd.spec
@@ -31,7 +31,7 @@ make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 install -Dpm 755 ahcpd $RPM_BUILD_ROOT%{_sbindir}/ahcpd
-install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
+install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT/lib/systemd/system/%{name}.service
 install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ahcpd.conf
 install -Dpm 644 ahcpd.man $RPM_BUILD_ROOT/%{_mandir}/man8/ahcpd.8
 install -Dp -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ahcpd
@@ -66,7 +66,7 @@ fi
 %defattr(-,root,root,-)
 %doc CHANGES LICENCE README
 %{_sbindir}/ahcpd
-%{_unitdir}/%{name}.service
+/lib/systemd/system/%{name}.service
 %config(noreplace) %{_sysconfdir}/ahcpd.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/ahcpd
 %{_mandir}/man8/ahcpd.8.gz


More information about the scm-commits mailing list