Fixes per Merge Review
This commit is contained in:
parent
6c28bbc88f
commit
ce531f6dcb
@ -1,5 +1 @@
|
|||||||
irqbalance-0.12.tar.gz
|
|
||||||
irqbalance-1.12
|
|
||||||
irqbalance-0.13.tar.gz
|
|
||||||
irqbalance-0.54.tar.gz
|
|
||||||
irqbalance-0.55.tar.gz
|
irqbalance-0.55.tar.gz
|
||||||
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
irqbalance-0_55-17_fc11:HEAD:irqbalance-0.55-17.fc11.src.rpm:1249063146
|
@ -7,7 +7,6 @@
|
|||||||
# Description: The irqbalance daemon will distribute interrupts across
|
# Description: The irqbalance daemon will distribute interrupts across
|
||||||
# the cpus on a multiprocessor system with the purpose of
|
# the cpus on a multiprocessor system with the purpose of
|
||||||
# spreading the load
|
# spreading the load
|
||||||
#
|
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
# chkconfig: 2345 13 87
|
# chkconfig: 2345 13 87
|
||||||
|
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
Summary: IRQ balancing daemon.
|
Summary: IRQ balancing daemon
|
||||||
Name: irqbalance
|
Name: irqbalance
|
||||||
Version: 0.55
|
Version: 0.55
|
||||||
Release: 15%{?dist}
|
Release: 17%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
|
Url: http://irqbalance.org/
|
||||||
Source0: http://www.irqbalance.org/releases/irqbalance-%{version}.tar.gz
|
Source0: http://www.irqbalance.org/releases/irqbalance-%{version}.tar.gz
|
||||||
Source1: irqbalance.init
|
Source1: irqbalance.init
|
||||||
Source2: irqbalance.sysconfig
|
Source2: irqbalance.sysconfig
|
||||||
Source3: irqbalance.1
|
Source3: irqbalance.1
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
Prereq: /sbin/chkconfig /sbin/service
|
Requires(post): chkconfig
|
||||||
|
Requires(postun):chkconfig
|
||||||
|
Requires(preun):chkconfig
|
||||||
|
|
||||||
ExclusiveArch: i386 i586 x86_64 ia64 ppc ppc64
|
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64
|
||||||
Obsoletes: kernel-utils
|
Obsoletes: kernel-utils
|
||||||
BuildRequires: glib2-devel pkgconfig imake
|
BuildRequires: glib2-devel pkgconfig
|
||||||
Requires: glib2
|
|
||||||
|
|
||||||
Patch0: irqbalance-pie.patch
|
Patch0: irqbalance-pie.patch
|
||||||
Patch1: irqbalance-0.55-cputree-parse.patch
|
Patch1: irqbalance-0.55-cputree-parse.patch
|
||||||
@ -31,38 +33,31 @@ multiple CPUs for enhanced performance.
|
|||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
sed -i s/-Os//g %{name}-%{version}/Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -rf $RPM_BUILD_ROOT
|
cd %{name}-%{version}
|
||||||
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||||
mkdir -p %{buildroot}/usr/sbin
|
|
||||||
mkdir -p %{buildroot}/usr/man
|
|
||||||
mkdir -p %{buildroot}/etc/rc.d/init.d
|
|
||||||
mkdir -p %{buildroot}/etc/sysconfig
|
|
||||||
|
|
||||||
cd irqbalance-%{version}
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/usr/share/man/man{1,8}
|
rm -rf %{buildroot}
|
||||||
|
cd %{name}-%{version}
|
||||||
|
install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
|
||||||
|
install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
|
||||||
|
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
||||||
|
|
||||||
cd irqbalance-%{version}
|
install -d %{buildroot}%{_mandir}/man1/
|
||||||
install irqbalance %{buildroot}/usr/sbin
|
install -p -m 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/
|
||||||
install %{SOURCE1} %{buildroot}/etc/rc.d/init.d/irqbalance
|
|
||||||
install %{SOURCE2} %{buildroot}/etc/sysconfig/irqbalance
|
|
||||||
install %{SOURCE3} %{buildroot}/usr/share/man/man1/
|
|
||||||
|
|
||||||
chmod -R a-s %{buildroot}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/sbin/irqbalance
|
%{_sbindir}/irqbalance
|
||||||
/etc/rc.d/init.d/irqbalance
|
%{_initrddir}/irqbalance
|
||||||
%attr(0644,root,root) %{_mandir}/*/*
|
%{_mandir}/man1/*
|
||||||
%attr(0644,root,root) /etc/sysconfig/irqbalance
|
%config(noreplace) %{_sysconfdir}/sysconfig/irqbalance
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = "0" ] ; then
|
if [ "$1" = "0" ] ; then
|
||||||
@ -78,6 +73,13 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 31 2009 Peter Lemenkov <lemenkov@gmail.com> - 2:0.55-17
|
||||||
|
- Cosmetic fixes in spec-file
|
||||||
|
- Fixed rpmlint error in the init-script
|
||||||
|
|
||||||
|
* Tue Jul 28 2009 Peter Lemenkov <lemenkov@gmail.com> - 2:0.55-16
|
||||||
|
- Many imrovements in spec-file
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.55-15
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.55-15
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user