This commit is contained in:
parent
c7c4d32a28
commit
20caccd624
13
irqbalance-0.55-as-needed.patch
Normal file
13
irqbalance-0.55-as-needed.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Makefile.orig 2009-06-17 17:43:42.000000000 +0200
|
||||
+++ Makefile 2009-06-17 17:48:59.000000000 +0200
|
||||
@@ -6,7 +6,7 @@ all: irqbalance
|
||||
LIBS=bitmap.o irqbalance.o cputree.o procinterrupts.o irqlist.o placement.o activate.o network.o powermode.o numa.o classify.o
|
||||
|
||||
irqbalance: .depend $(LIBS)
|
||||
- gcc $(CFLAGS) $(LDFLAGS) $(LIBS) -o irqbalance
|
||||
+ gcc $(CFLAGS) $(LIBS) -o irqbalance $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f irqbalance *~ *.o .depend
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 17 17:52:43 CEST 2009 - crrodriguez@suse.de
|
||||
|
||||
- fix build when as-needed is a default linker option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 5 22:14:13 CET 2008 - bwalle@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package irqbalance (Version 0.55)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -24,7 +24,7 @@ Group: System/Daemons
|
||||
AutoReqProv: on
|
||||
PreReq: %insserv_prereq
|
||||
Version: 0.55
|
||||
Release: 120
|
||||
Release: 121
|
||||
Summary: Balance IRQs on SMP Machines
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: irqbalance.pod
|
||||
@ -36,6 +36,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# xorg-x11-util-devel is for gccmakedep
|
||||
BuildRequires: glib2-devel perl xorg-x11-util-devel
|
||||
Patch0: irqbalance-fix-Makefile
|
||||
Patch1: irqbalance-0.55-as-needed.patch
|
||||
|
||||
%description
|
||||
irqbalance dynamically switches the CPUs for IRQs to prevent cpu0 from
|
||||
@ -50,6 +51,7 @@ Authors:
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS -fPIE -pie"
|
||||
@ -92,6 +94,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/var/adm/fillup-templates/sysconfig.irqbalance
|
||||
|
||||
%changelog
|
||||
* Wed Jun 17 2009 crrodriguez@suse.de
|
||||
- fix build when as-needed is a default linker option
|
||||
* Wed Nov 05 2008 bwalle@suse.de
|
||||
- Don't start the irqbalance on IA64 SGI SN2 systems (bnc#441505).
|
||||
* Fri Aug 15 2008 bwalle@suse.de
|
||||
@ -105,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- remove special handling of timer interrupt and dual core
|
||||
systems from init script because the new irq balancer does
|
||||
that automatically
|
||||
* Sun Apr 15 2007 bwalle@suse.de
|
||||
* Mon Apr 16 2007 bwalle@suse.de
|
||||
- wrote manpage for irqbalance
|
||||
* Wed Apr 11 2007 bwalle@suse.de
|
||||
- updated to irqbalance.org 0.55
|
||||
@ -139,7 +143,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- don't build as root
|
||||
* Fri Sep 02 2005 ro@suse.de
|
||||
- rcscript: ignore on machines with < 2 CPUs
|
||||
* Mon Jun 20 2005 ro@suse.de
|
||||
* Tue Jun 21 2005 ro@suse.de
|
||||
- build with fPIE/pie
|
||||
* Mon Feb 16 2004 sf@suse.de
|
||||
- update to 0.09
|
||||
|
Loading…
x
Reference in New Issue
Block a user