Marcus Meissner 2013-12-13 21:57:09 +00:00 committed by Git OBS Bridge
parent 70febd23f9
commit c7fc77eb2c

View File

@ -62,6 +62,7 @@ sed -ie "s|EnvironmentFile=.*|EnvironmentFile=/etc/sysconfig/irqbalance|g" misc/
# Remove syslog.target in systemd service file; not provided by systemd anymore # Remove syslog.target in systemd service file; not provided by systemd anymore
sed -ie "s|After=syslog.target||g" misc/irqbalance.service sed -ie "s|After=syslog.target||g" misc/irqbalance.service
install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.service install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.service
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirq_balancer
%pre %pre
%service_add_pre irqbalance.service %service_add_pre irqbalance.service
@ -79,6 +80,7 @@ install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.se
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_sbindir}/irqbalance %{_sbindir}/irqbalance
%{_sbindir}/rcirq_balancer
%{_unitdir}/irqbalance.service %{_unitdir}/irqbalance.service
%{_mandir}/man1/irqbalance.1.gz %{_mandir}/man1/irqbalance.1.gz
%{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance %{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance