Accepting request 545240 from Base:System
OBS-URL: https://build.opensuse.org/request/show/545240 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=49
This commit is contained in:
commit
02e88e651d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 13:40:17 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
- Replace references to /var/adm/fillup-templates with new
|
||||||
|
%_fillupdir macro (boo#1069468)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 1 16:17:07 UTC 2017 - fschnizlein@suse.com
|
Wed Mar 1 16:17:07 UTC 2017 - fschnizlein@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package irqbalance
|
# spec file for package irqbalance
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: irqbalance
|
Name: irqbalance
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -60,8 +65,8 @@ cp %{SOURCE3} .
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/
|
mkdir -p %{buildroot}%{_fillupdir}/
|
||||||
install -m 0644 sysconfig.irqbalance %{buildroot}%{_localstatedir}/adm/fillup-templates/
|
install -m 0644 sysconfig.irqbalance %{buildroot}%{_fillupdir}/
|
||||||
sed -ie "s|EnvironmentFile=.*|EnvironmentFile=%{_sysconfdir}/sysconfig/irqbalance|g" misc/irqbalance.service
|
sed -ie "s|EnvironmentFile=.*|EnvironmentFile=%{_sysconfdir}/sysconfig/irqbalance|g" misc/irqbalance.service
|
||||||
# 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
|
||||||
@ -88,6 +93,6 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcirqbalance
|
|||||||
%{_sbindir}/rcirqbalance
|
%{_sbindir}/rcirqbalance
|
||||||
%{_unitdir}/irqbalance.service
|
%{_unitdir}/irqbalance.service
|
||||||
%{_mandir}/man1/irqbalance.1.gz
|
%{_mandir}/man1/irqbalance.1.gz
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance
|
%{_fillupdir}/sysconfig.irqbalance
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user