diff --git a/rpld.spec b/rpld.spec index d7b77ce..81ad341 100644 --- a/rpld.spec +++ b/rpld.spec @@ -17,6 +17,10 @@ BuildRequires: byacc flex Requires(post): initscripts chkconfig Requires(preun): initscripts chkconfig Requires(postun): initscripts +BuildRequires: systemd-units +Requires: systemd-units +Conflicts: systemd < 38 +Conflicts: filesystem < 3 %description Daemon to net-boot IBM style RPL boot ROMs (this is not the @@ -65,8 +69,8 @@ install -d $RPM_BUILD_ROOT%{_initrddir} install -m 0755 %SOURCE1 $RPM_BUILD_ROOT%{_initrddir}/%{name} install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig install -m 0644 %SOURCE2 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} -install -d $RPM_BUILD_ROOT/lib/systemd/system -install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/lib/systemd/system/%{name}.service +install -d $RPM_BUILD_ROOT%{_unitdir} +install -m 0644 %SOURCE3 $RPM_BUILD_ROOT%{_unitdir}/%{name}.service %clean rm -rf $RPM_BUILD_ROOT @@ -78,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man[^3]/* %{_initrddir}/%{name} %{_sysconfdir}/sysconfig/%{name} -/lib/systemd/system/%{name}.service +%{_unitdir}/%{name}.service %changelog * Mon Oct 31 2011 Paul P. Komkoff Jr - 1.8-0.11.beta1