Hello community, here is the log from the commit of package irqbalance for openSUSE:Factory checked in at 2011-12-06 13:52:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irqbalance (Old) and /work/SRC/openSUSE:Factory/.irqbalance.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "irqbalance", Maintainer is "trenn@novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes 2011-10-16 12:55:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes 2011-12-06 13:52:10.000000000 +0100 @@ -1,0 +2,13 @@ +Tue Nov 29 21:11:49 UTC 2011 - crrodriguez@opensuse.org + +- Use systemd macros in pre/post scripts + +------------------------------------------------------------------- +Mon Oct 17 13:59:37 UTC 2011 - trenn@suse.de + +- Update to version 1.0 + - Remove files that are upstream: manpage, systemd config file + - Introduction of highest topology level: Numa node + - ... + +------------------------------------------------------------------- Old: ---- irqbalance-0.55-as-needed.patch irqbalance-0.56_svn201010021305.tar.bz2 irqbalance-fix-Makefile irqbalance.pod irqbalance.service New: ---- irqbalance-1.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqbalance.spec ++++++ --- /var/tmp/diff_new_pack.k7ioi8/_old 2011-12-06 13:52:11.000000000 +0100 +++ /var/tmp/diff_new_pack.k7ioi8/_new 2011-12-06 13:52:11.000000000 +0100 @@ -18,19 +18,17 @@ Name: irqbalance -Version: 0.56_svn201010021305 +Version: 1.0 Release: 9 License: GPLv2+ Summary: Balance IRQs on SMP Machines -Url: http://www.irqbalance.org +Url: http://code.google.com/p/irqbalance Group: System/Daemons Source: %{name}-%{version}.tar.bz2 -Source1: irqbalance.pod Source2: irq_balancer Source3: sysconfig.irqbalance -Source4: irqbalance.service -# xorg-x11-util-devel is for gccmakedep BuildRequires: pkgconfig(glib-2.0) +BuildRequires: libnuma-devel BuildRequires: libtool PreReq: coreutils PreReq: fillup @@ -38,10 +36,11 @@ %if 0%{?suse_version} >= 1130 BuildRequires: libcap-ng-devel %endif -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch0: irqbalance-fix-Makefile -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch1: irqbalance-0.55-as-needed.patch +%if 0%{?suse_version} > 1140 +BuildRequires: systemd +%{?systemd_requires} +%define has_systemd 1 +%endif %description irqbalance dynamically switches the CPUs for IRQs to prevent cpu0 from @@ -49,16 +48,12 @@ %prep %setup -q -%patch0 -p1 -%patch1 %build ./autogen.sh %configure make LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie" -cp %{SOURCE1} . cp %{SOURCE3} . -pod2man --release=0.5.5 --center=irqbalance irqbalance.pod irqbalance.1 gzip irqbalance.1 %install @@ -71,24 +66,41 @@ install -m 0644 irqbalance.1.gz %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/ install -m 0644 sysconfig.irqbalance %{buildroot}%{_localstatedir}/adm/fillup-templates/ -mkdir -p %{buildroot}/lib/systemd/system/ -install -D -p -m 0644 %{SOURCE4} %{buildroot}/lib/systemd/system/ +%if 0%{?has_systemd} +install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.service +%endif + +%pre +%if 0%{?has_systemd} +%service_add_pre irqbalance.service +%endif %post %fillup_only +%if 0%{?has_systemd} +%service_add_post irqbalance.service +%endif %preun %stop_on_removal irq_balancer +%if 0%{?has_systemd} +%service_del_preun irqbalance.service +%endif %postun %restart_on_update irq_balancer %insserv_cleanup +%if 0%{?has_systemd} +%service_del_postun irqbalance.service +%endif %files %defattr(-,root,root,-) %{_sbindir}/irqbalance %{_sysconfdir}/init.d/irq_balancer -/lib/systemd/system/irqbalance.service +%if 0%{?has_systemd} +%{_unitdir}/irqbalance.service +%endif %{_sbindir}/rcirq_balancer %{_mandir}/man1/irqbalance.1.gz %{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance ++++++ irqbalance-0.56_svn201010021305.tar.bz2 -> irqbalance-1.0.tar.bz2 ++++++ ++++ 3179 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org