diff --git a/irqbalance.spec b/irqbalance.spec index ff7a315..70b4561 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -48,33 +48,12 @@ irqbalance is a daemon that evenly distributes IRQ load across multiple CPUs for enhanced performance. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 +%autosetup -p1 %build ./autogen.sh %configure -CFLAGS="%{optflags}" make %{?_smp_mflags} +%{make_build} %install install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}