commit irqbalance for openSUSE:Factory

2020-08-19 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2020-08-19 18:46:51

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new.3399 (New)


Package is "irqbalance"

Wed Aug 19 18:46:51 2020 rev:55 rq:827049 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2020-06-23 
21:03:00.421535486 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new.3399/irqbalance.changes  
2020-08-19 18:47:23.755546564 +0200
@@ -1,0 +2,20 @@
+Sun Aug 16 14:14:22 UTC 2020 - Dirk Mueller 
+
+- update to 1.7.0:
+  * Strlen checking for IRQBALANCE_BANNED_CPU env var
+  * Typo cleanup in SOCKET_TMPFS
+  * consolidation of numa node creation on non-numa systems
+  * fix uninitialized use of package_mask in affinity setup
+  * use num_online_cpus instead of core_count
+  * fix a null ptr crash in do_one_cpu
+  * make list searching common from glib
+  * fix a calloc parameter bug
+  * remove some unused variables
+  * use g_list_free_full
+  * remove redundant call to free_cl_opts
+  * fix some resource leaks in main()
+  * fix some use after free issues in check_for_irq_ban
+  * fix resource leaks in irqballance-ui, and in add_one_node
+- remove Correct-capitalizing-in-service-file.patch: upstream
+
+---

Old:

  Correct-capitalizing-in-service-file.patch
  _service
  irqbalance-1.6.0+git20200317.0348a3b.tar.gz

New:

  irqbalance-1.7.0.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.yqZj4S/_old  2020-08-19 18:47:26.411547976 +0200
+++ /var/tmp/diff_new_pack.yqZj4S/_new  2020-08-19 18:47:26.419547980 +0200
@@ -21,17 +21,15 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   irqbalance
-Version:1.6.0+git20200317.0348a3b
+Version:1.7.0
 Release:0
 Summary:Daemon to balance IRQs on SMP machines
 License:GPL-2.0-or-later
 Group:  System/Daemons
 URL:https://github.com/Irqbalance/irqbalance
-#Source: 
https://github.com/Irqbalance/irqbalance/archive/v%%{version}.tar.gz
-Source: %{name}-%{version}.tar.gz
+Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source3:sysconfig.irqbalance
 Patch1: Set-fd-limit.patch
-Patch2: Correct-capitalizing-in-service-file.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
@@ -39,8 +37,8 @@
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  %fillup_prereq
-ExcludeArch:s390 s390x
 Recommends: %{name}-ui
+ExcludeArch:s390 s390x
 %{?systemd_requires}
 %ifnarch %{arm}
 BuildRequires:  libnuma-devel
@@ -65,7 +63,7 @@
 %build
 NOCONFIGURE=1 ./autogen.sh
 %configure
-make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)"
+%make_build LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie 
$(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)"
 cp %{SOURCE3} .
 
 %install

++ irqbalance-1.6.0+git20200317.0348a3b.tar.gz -> irqbalance-1.7.0.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/.gitignore 
new/irqbalance-1.7.0/.gitignore
--- old/irqbalance-1.6.0+git20200317.0348a3b/.gitignore 1970-01-01 
01:00:00.0 +0100
+++ new/irqbalance-1.7.0/.gitignore 2020-08-04 14:30:13.0 +0200
@@ -0,0 +1,36 @@
+*.a
+*.o
+*~
+
+.deps
+
+*.diff
+*.patch
+*.orig
+*.rej
+
+/INSTALL
+/Makefile
+/Makefile.in
+*/Makefile
+*/Makefile.in
+/aclocal.m4
+/autom4te.cache
+/compile
+/config.guess
+/config.h
+/config.h.in
+/config.log
+/config.status
+/config.sub
+/configure
+/install-sh
+/libtool
+/ltmain.sh
+/m4
+/missing
+/stamp-h1
+/depcomp
+
+/irqbalance
+irqbalance-*.tar.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/configure.ac 
new/irqbalance-1.7.0/configure.ac
--- old/irqbalance-1.6.0+git20200317.0348a3b/configure.ac   2020-03-17 
13:06:25.0 +0100
+++ new/irqbalance-1.7.0/configure.ac   2020-08-04 14:30:13.0 +0200
@@ -1,4 +1,4 @@
-AC_INIT(irqbalance,1.6.0)
+AC_INIT(irqbalance,1.7.0)
 AC_PREREQ(2.12)dnl
 AM_CONFIG_HEADER(config.h)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/cputree.c 
new/irqbalance-1.7.0/cputree.c
--- 

commit irqbalance for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2020-06-23 21:02:37

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new.2956 (New)


Package is "irqbalance"

Tue Jun 23 21:02:37 2020 rev:54 rq:815809 version:1.6.0+git20200317.0348a3b

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2020-06-03 
20:28:06.468368378 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new.2956/irqbalance.changes  
2020-06-23 21:03:00.421535486 +0200
@@ -1,0 +2,7 @@
+Thu Jun 18 11:10:20 UTC 2020 - Josef Möllers 
+
+- Corrected mis-spelling (wrong CamelCase) of "EnvironmentFile"
+  in misc/irqbalance.service
+  [bsc#1172665, Correct-capitalizing-in-service-file.patch]
+
+---

New:

  Correct-capitalizing-in-service-file.patch



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.qCDvrM/_old  2020-06-23 21:03:01.257538176 +0200
+++ /var/tmp/diff_new_pack.qCDvrM/_new  2020-06-23 21:03:01.261538189 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 Source: %{name}-%{version}.tar.gz
 Source3:sysconfig.irqbalance
 Patch1: Set-fd-limit.patch
+Patch2: Correct-capitalizing-in-service-file.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel

++ Correct-capitalizing-in-service-file.patch ++
Index: irqbalance-1.6.0+git20200317.0348a3b/misc/irqbalance.service
===
--- irqbalance-1.6.0+git20200317.0348a3b.orig/misc/irqbalance.service
+++ irqbalance-1.6.0+git20200317.0348a3b/misc/irqbalance.service
@@ -5,7 +5,7 @@ Documentation=https://github.com/Irqbala
 ConditionVirtualization=!container
 
 [Service]
-Environmentfile=-/usr/lib/irqbalance/defaults.env
+EnvironmentFile=-/usr/lib/irqbalance/defaults.env
 EnvironmentFile=-/path/to/irqbalance.env
 ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
 CapabilityBoundingSet=



commit irqbalance for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2020-06-03 20:28:05

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new.3606 (New)


Package is "irqbalance"

Wed Jun  3 20:28:05 2020 rev:53 rq:809596 version:1.6.0+git20200317.0348a3b

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2020-04-29 
20:42:27.139653589 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new.3606/irqbalance.changes  
2020-06-03 20:28:06.468368378 +0200
@@ -1,0 +2,8 @@
+Tue May 26 14:48:21 UTC 2020 - Thomas Renninger 
+
+- Update to latest git HEAD version 0348a3b.
+  There has been no version update for quite some time, but some
+  restructuring and fixes we want to have included.
+D install-man-pages.patch
+
+---

Old:

  install-man-pages.patch
  irqbalance-1.6.0+git20190711.f7fdebb.tar.gz

New:

  irqbalance-1.6.0+git20200317.0348a3b.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.N04oPa/_old  2020-06-03 20:28:07.072370215 +0200
+++ /var/tmp/diff_new_pack.N04oPa/_new  2020-06-03 20:28:07.072370215 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   irqbalance
-Version:1.6.0+git20190711.f7fdebb
+Version:1.6.0+git20200317.0348a3b
 Release:0
 Summary:Daemon to balance IRQs on SMP machines
 License:GPL-2.0-or-later
@@ -31,7 +31,6 @@
 Source: %{name}-%{version}.tar.gz
 Source3:sysconfig.irqbalance
 Patch1: Set-fd-limit.patch
-Patch2: install-man-pages.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
@@ -103,5 +102,6 @@
 
 %files ui
 %{_sbindir}/irqbalance-ui
+%{_mandir}/man1/irqbalance-ui.1%{?ext_man}
 
 %changelog

++ Set-fd-limit.patch ++
--- /var/tmp/diff_new_pack.N04oPa/_old  2020-06-03 20:28:07.096370288 +0200
+++ /var/tmp/diff_new_pack.N04oPa/_new  2020-06-03 20:28:07.096370288 +0200
@@ -1,8 +1,10 @@
-Index: irqbalance-1.6.0/misc/irqbalance.service
-===
 irqbalance-1.6.0.orig/misc/irqbalance.service  2019-07-01 
17:12:55.781596074 +0200
-+++ irqbalance-1.6.0/misc/irqbalance.service   2019-07-01 17:13:22.025596492 
+0200
-@@ -13,6 +13,7 @@ ReadOnlyPaths=/
+---
+ misc/irqbalance.service |1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/misc/irqbalance.service
 b/misc/irqbalance.service
+@@ -14,6 +14,7 @@
  ReadWritePaths=/proc/irq
  RestrictAddressFamilies=AF_UNIX
  RuntimeDirectory=irqbalance/

++ irqbalance-1.6.0+git20190711.f7fdebb.tar.gz -> 
irqbalance-1.6.0+git20200317.0348a3b.tar.gz ++
 1884 lines of diff (skipped)




commit irqbalance for openSUSE:Factory

2020-04-29 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2020-04-29 20:42:03

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new.2738 (New)


Package is "irqbalance"

Wed Apr 29 20:42:03 2020 rev:52 rq:798326 version:1.6.0+git20190711.f7fdebb

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2019-07-16 
08:38:27.499082005 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new.2738/irqbalance.changes  
2020-04-29 20:42:27.139653589 +0200
@@ -1,0 +2,12 @@
+Fri Apr 24 11:18:18 UTC 2020 - Fabian Vogt 
+
+- Package COPYING and README.md
+- Add some deps for the -ui subpackage
+
+---
+Thu Apr 23 21:19:15 UTC 2020 - Thorsten Kukuk 
+
+- Use fillup_prereq macro
+- Move ui into sub-package to get minimal core much smaller
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.8g9giT/_old  2020-04-29 20:42:27.695655038 +0200
+++ /var/tmp/diff_new_pack.8g9giT/_new  2020-04-29 20:42:27.695655038 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 Summary:Daemon to balance IRQs on SMP machines
 License:GPL-2.0-or-later
 Group:  System/Daemons
-Url:https://github.com/Irqbalance/irqbalance
+URL:https://github.com/Irqbalance/irqbalance
 #Source: 
https://github.com/Irqbalance/irqbalance/archive/v%%{version}.tar.gz
 Source: %{name}-%{version}.tar.gz
 Source3:sysconfig.irqbalance
@@ -38,9 +38,9 @@
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
-Requires(pre):  coreutils
-Requires(pre):  fillup
+Requires(pre):  %fillup_prereq
 ExcludeArch:s390 s390x
+Recommends: %{name}-ui
 %{?systemd_requires}
 %ifnarch %{arm}
 BuildRequires:  libnuma-devel
@@ -50,6 +50,14 @@
 irqbalance dynamically switches the CPUs for IRQs to prevent cpu0 from
 being used for all IRQs.
 
+%package ui
+Summary:UI for IRQ balance Daemon
+Group:  System/Daemons
+Requires:   %{name} = %{version}
+
+%description ui
+Text UI for the IRQ balance daemon.
+
 %prep
 %setup -q
 %autopatch -p1
@@ -85,11 +93,15 @@
 %service_del_postun irqbalance.service
 
 %files
+%license COPYING
+%doc AUTHORS README.md
 %{_sbindir}/irqbalance
-%{_sbindir}/irqbalance-ui
 %{_sbindir}/rcirqbalance
 %{_unitdir}/irqbalance.service
 %{_mandir}/man1/irqbalance.1%{?ext_man}
 %{_fillupdir}/sysconfig.irqbalance
 
+%files ui
+%{_sbindir}/irqbalance-ui
+
 %changelog




commit irqbalance for openSUSE:Factory

2019-07-16 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2019-07-16 08:38:26

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new.1887 (New)


Package is "irqbalance"

Tue Jul 16 08:38:26 2019 rev:51 rq:714762 version:1.6.0+git20190711.f7fdebb

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2018-10-11 
11:40:16.175182611 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new.1887/irqbalance.changes  
2019-07-16 08:38:27.499082005 +0200
@@ -1,0 +2,32 @@
+Thu Jul 11 13:19:49 UTC 2019 - tr...@suse.de
+
+- Add git hash tag and date in version as source is derived from
+  master/HEAD branch. Thanks to namtrac.
+  This is done via _service file.
+  Also add an example how to get back to a stable release version
+- Update to latest git master version:
+  git commit f7fdebbaa4dbc27fcdeb7
+
+---
+Sun Jul  7 21:37:21 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in summaries.
+
+---
+Mon Jul  1 15:18:05 UTC 2019 - tr...@suse.de
+
+- Update to version 1.6.0 (b47eea84cbb93f533b0cba2f1aa):
+  * fix balancing when numa information isn't available
+  * Refine document about IRQBALANCE_BANNED_CPUS
+  * Fix string truncation issues detected by GCC 8
+  * fix socket path creation
+  * Update document for option --banmod and --deepestcache
+  * Fix ambiguous parsing of *node* entries in /sys.
+  * procinterrupts: check xen-dyn-event more flexible
+  * misc: Add an example for policy script
+  * policyscript: ignore non-executable files when specifying a directory
+
+remove because already mainline:
+D fix_buffer_overflow_compiler.patch
+
+---

Old:

  _servicedata
  fix_buffer_overflow_compiler.patch
  v1.4.0.tar.gz

New:

  irqbalance-1.6.0+git20190711.f7fdebb.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.FB48pL/_old  2019-07-16 08:38:28.003081751 +0200
+++ /var/tmp/diff_new_pack.FB48pL/_new  2019-07-16 08:38:28.003081751 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,17 +21,17 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   irqbalance
-Version:1.4.0
+Version:1.6.0+git20190711.f7fdebb
 Release:0
-Summary:Balance IRQs on SMP Machines
+Summary:Daemon to balance IRQs on SMP machines
 License:GPL-2.0-or-later
 Group:  System/Daemons
 Url:https://github.com/Irqbalance/irqbalance
-Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
+#Source: 
https://github.com/Irqbalance/irqbalance/archive/v%%{version}.tar.gz
+Source: %{name}-%{version}.tar.gz
 Source3:sysconfig.irqbalance
 Patch1: Set-fd-limit.patch
 Patch2: install-man-pages.patch
-Patch3: fix_buffer_overflow_compiler.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel

++ Set-fd-limit.patch ++
--- /var/tmp/diff_new_pack.FB48pL/_old  2019-07-16 08:38:28.015081745 +0200
+++ /var/tmp/diff_new_pack.FB48pL/_new  2019-07-16 08:38:28.015081745 +0200
@@ -1,11 +1,11 @@
-Index: irqbalance-1.4.0/misc/irqbalance.service
+Index: irqbalance-1.6.0/misc/irqbalance.service
 ===
 irqbalance-1.4.0.orig/misc/irqbalance.service
-+++ irqbalance-1.4.0/misc/irqbalance.service
-@@ -5,6 +5,7 @@ ConditionVirtualization=!container
- [Service]
- EnvironmentFile=/path/to/irqbalance.env
- ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
+--- irqbalance-1.6.0.orig/misc/irqbalance.service  2019-07-01 
17:12:55.781596074 +0200
 irqbalance-1.6.0/misc/irqbalance.service   2019-07-01 17:13:22.025596492 
+0200
+@@ -13,6 +13,7 @@ ReadOnlyPaths=/
+ ReadWritePaths=/proc/irq
+ RestrictAddressFamilies=AF_UNIX
+ RuntimeDirectory=irqbalance/
 +LimitNOFILE=4096
  
  [Install]

++ _service ++
--- 

commit irqbalance for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2018-10-11 11:40:01

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Thu Oct 11 11:40:01 2018 rev:50 rq:639963 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2017-11-30 
12:41:18.802814379 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2018-10-11 11:40:16.175182611 +0200
@@ -1,0 +2,42 @@
+Thu Oct  4 09:51:31 UTC 2018 - tr...@suse.de
+
+- Allow compilation with SLE-12 and before by:
+  * removing -std=C99 Latest compiler version does not complain
+  anymore, SLE12 SPx and before did.
+  * Fix a possible buffer overflow compiler warning
+A fix_buffer_overflow_compiler.patch
+
+---
+Mon Oct  1 09:12:52 UTC 2018 - egotth...@suse.com
+
+- Removed aarch64-compile-fixes.patch because it is mainline now.
+
+- Update to version 1.4.0:
+  * Fixed an erroneous calculation of min_load that restricted candidates to a
+subset of objects
+  * Fixed powerpc hotplug detection
+  * Cleaned up syslog target dependency
+  * Added some self test infrastructure (via make check)
+
+- Update to version 1.3.0
+  * New features in this release:
+  optimization of platform device irq detection
+  Added sample udev rules to trigger irq rescans on device add/remove
+  Made irqbalance ui an optional compile component
+  Added support for Intel CoD
+  Add -v | --version option to command line
+  * Bug fixes in this release:
+  Misc compiler warning fixes and spelling errors
+  Compilation error fix on aarch64
+  Compilation error fix when using clang in c99 mode
+  Unused variable cleanup
+  Lots of memory leak cleanup in irqbalance-ui
+  Prevent irqbalance from running in a container
+  Fix irq affinity assignment in some cases to wrong numa node
+  Fix oneshot mode
+  exclude legacy irq 255
+  * Deprecations:
+  without-glib2 is removed, we just need it enough that we can't dummy it 
up
+  anymore
+
+---

Old:

  aarch64-compile-fixes.patch
  v1.2.0.tar.gz

New:

  _service
  _servicedata
  fix_buffer_overflow_compiler.patch
  v1.4.0.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.WQGlvA/_old  2018-10-11 11:40:19.447178445 +0200
+++ /var/tmp/diff_new_pack.WQGlvA/_new  2018-10-11 11:40:19.487178395 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,31 +18,31 @@
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-
 Name:   irqbalance
-Version:1.2.0
+Version:1.4.0
 Release:0
 Summary:Balance IRQs on SMP Machines
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Daemons
 Url:https://github.com/Irqbalance/irqbalance
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
-Patch2: Set-fd-limit.patch
-Patch3: install-man-pages.patch
-Patch4: aarch64-compile-fixes.patch
+Patch1: Set-fd-limit.patch
+Patch2: install-man-pages.patch
+Patch3: fix_buffer_overflow_compiler.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
+BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  coreutils
 Requires(pre):  fillup
 ExcludeArch:s390 s390x
 %{?systemd_requires}
-%ifnarch %arm
+%ifnarch %{arm}
 BuildRequires:  libnuma-devel
 %endif
 
@@ -52,14 +52,12 @@
 
 %prep
 %setup -q
-%patch2 -p1
-%patch3
-%patch4 -p1
+%autopatch -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh
 %configure
-make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie -std=c99 $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)"
+make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)"
 cp %{SOURCE3} .
 
 %install
@@ -87,12 +85,11 @@
 %service_del_postun irqbalance.service
 

commit irqbalance for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2017-11-30 12:41:17

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Thu Nov 30 12:41:17 2017 rev:49 rq:545240 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2017-03-10 
21:44:55.334222811 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2017-11-30 12:41:18.802814379 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:40:17 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.fPbB05/_old  2017-11-30 12:41:19.562786747 +0100
+++ /var/tmp/diff_new_pack.fPbB05/_new  2017-11-30 12:41:19.566786601 +0100
@@ -1,7 +1,7 @@
 #
 # 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
 # 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
 Version:1.2.0
 Release:0
@@ -60,8 +65,8 @@
 %install
 %make_install
 
-mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/
-install -m 0644 sysconfig.irqbalance 
%{buildroot}%{_localstatedir}/adm/fillup-templates/
+mkdir -p %{buildroot}%{_fillupdir}/
+install -m 0644 sysconfig.irqbalance %{buildroot}%{_fillupdir}/
 sed -ie 
"s|EnvironmentFile=.*|EnvironmentFile=%{_sysconfdir}/sysconfig/irqbalance|g" 
misc/irqbalance.service
 # Remove syslog.target in systemd service file; not provided by systemd anymore
 sed -ie "s|After=syslog.target||g" misc/irqbalance.service
@@ -88,6 +93,6 @@
 %{_sbindir}/rcirqbalance
 %{_unitdir}/irqbalance.service
 %{_mandir}/man1/irqbalance.1.gz
-%{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance
+%{_fillupdir}/sysconfig.irqbalance
 
 %changelog




commit irqbalance for openSUSE:Factory

2017-03-10 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2017-03-10 21:44:54

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Fri Mar 10 21:44:54 2017 rev:48 rq:477538 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2017-02-08 
12:12:38.378175152 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2017-03-10 21:44:55.334222811 +0100
@@ -1,0 +2,5 @@
+Wed Mar  1 16:17:07 UTC 2017 - fschnizl...@suse.com
+
+- Remove superfluous comment out man package packing 
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.H7fv2r/_old  2017-03-10 21:44:56.070118436 +0100
+++ /var/tmp/diff_new_pack.H7fv2r/_new  2017-03-10 21:44:56.074117868 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -56,7 +56,6 @@
 %configure
 make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie -std=c99 $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)"
 cp %{SOURCE3} .
-#gzip irqbalance.1
 
 %install
 %make_install




commit irqbalance for openSUSE:Factory

2017-02-08 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2017-02-08 12:12:37

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2017-01-19 
10:36:00.443457301 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2017-02-08 12:12:38.378175152 +0100
@@ -1,0 +2,6 @@
+Mon Feb  6 17:05:11 UTC 2017 - dims...@opensuse.org
+
+- Switch to ncurses6: use ncurses6-config to find the correct
+  CFLAGS and libraries (boo#1021328).
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.ejNAgs/_old  2017-02-08 12:12:39.478020141 +0100
+++ /var/tmp/diff_new_pack.ejNAgs/_new  2017-02-08 12:12:39.478020141 +0100
@@ -54,7 +54,7 @@
 %build
 NOCONFIGURE=1 ./autogen.sh
 %configure
-make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie -std=c99 $(ncurses5-config --cflags)" LDFLAGS="$(ncurses5-config --libs)"
+make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie -std=c99 $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)"
 cp %{SOURCE3} .
 #gzip irqbalance.1
 




commit irqbalance for openSUSE:Factory

2017-01-19 Thread root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2017-01-19 10:35:59

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2016-12-02 
16:38:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2017-01-19 10:36:00.443457301 +0100
@@ -1,0 +2,14 @@
+Thu Jan 12 18:03:02 UTC 2017 - dmuel...@suse.com
+
+- update to 1.2.0:
+ * sort_irq logic rework to fix unintended ordering
+ * removal of the affinity_hint infrastructure as its not needed
+ * fixes for invalid cpumask parsing
+ * many other minior fixes (see git log)
+ * Aarch64 support
+ * live interactive monitoring of irqbalance and live adjustment with 
irqbalance-ui
+- remove fix-aarch64-support.patch: upstreamed
+- add install-man-pages.patch
+- add aarch64-compile-fixes.patch
+
+---

Old:

  fix-aarch64-support.patch
  v1.1.0.tar.gz

New:

  aarch64-compile-fixes.patch
  install-man-pages.patch
  v1.2.0.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.MHjxWx/_old  2017-01-19 10:36:00.959384531 +0100
+++ /var/tmp/diff_new_pack.MHjxWx/_new  2017-01-19 10:36:00.959384531 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   irqbalance
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+
@@ -25,10 +25,12 @@
 Url:https://github.com/Irqbalance/irqbalance
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
-Patch1: fix-aarch64-support.patch
 Patch2: Set-fd-limit.patch
+Patch3: install-man-pages.patch
+Patch4: aarch64-compile-fixes.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
+BuildRequires:  ncurses-devel
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  coreutils
@@ -45,21 +47,20 @@
 
 %prep
 %setup -q
-%patch1 -p1
 %patch2 -p1
+%patch3
+%patch4 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh
 %configure
-make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie"
+make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE 
-pie -std=c99 $(ncurses5-config --cflags)" LDFLAGS="$(ncurses5-config --libs)"
 cp %{SOURCE3} .
-gzip irqbalance.1
+#gzip irqbalance.1
 
 %install
-mkdir -p %{buildroot}%{_sbindir}
-install -m 0755 irqbalance %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_mandir}/man1
-install -m 0644 irqbalance.1.gz %{buildroot}%{_mandir}/man1
+%make_install
+
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/
 install -m 0644 sysconfig.irqbalance 
%{buildroot}%{_localstatedir}/adm/fillup-templates/
 sed -ie 
"s|EnvironmentFile=.*|EnvironmentFile=%{_sysconfdir}/sysconfig/irqbalance|g" 
misc/irqbalance.service
@@ -84,6 +85,7 @@
 %files
 %defattr(-,root,root,-)
 %{_sbindir}/irqbalance
+%{_sbindir}/irqbalance-ui
 %{_sbindir}/rcirqbalance
 %{_unitdir}/irqbalance.service
 %{_mandir}/man1/irqbalance.1.gz

++ aarch64-compile-fixes.patch ++
>From af7523e4891d13c3c06fef056b243faa0547e406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= 
Date: Tue, 10 Jan 2017 09:44:04 +0200
Subject: [PATCH 1/3] Add missing #include  in user interface files

Fixes several warnings when compiling under musl, e.g.

ui/irqbalance-ui.c: In function 'create_credentials_msg':
ui/irqbalance-ui.c:32:2: warning: implicit declaration of function 'memset' 
[-Wimplicit-function-declaration]
  memset(msg, 0, sizeof(struct msghdr));
  ^~
ui/irqbalance-ui.c:32:2: warning: incompatible implicit declaration of built-in 
function 'memset'
ui/irqbalance-ui.c:32:2: note: include '' or provide a declaration of 
'memset'
ui/irqbalance-ui.c: In function 'init_connection':
ui/irqbalance-ui.c:49:2: warning: incompatible implicit declaration of built-in 
function 'memset'
  memset(, 0, sizeof(struct sockaddr_un));
  ^~
---
 ui/irqbalance-ui.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/irqbalance-ui.c b/ui/irqbalance-ui.c
index 74ba93c..75fc60f 100644
--- a/ui/irqbalance-ui.c
+++ b/ui/irqbalance-ui.c
@@ -3,6 +3,7 @@
 #include 
 

commit irqbalance for openSUSE:Factory

2016-12-02 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2016-12-02 16:38:22

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2016-02-28 
02:27:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2016-12-02 16:38:23.0 +0100
@@ -1,0 +2,5 @@
+Fri Oct 14 13:31:38 UTC 2016 - msucha...@suse.com
+
+- Set-fd-limit.patch: Increase limit on file descriptors (bsc#998399) 
(fate#321645)
+
+---

New:

  Set-fd-limit.patch



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.E3hz2K/_old  2016-12-02 16:38:24.0 +0100
+++ /var/tmp/diff_new_pack.E3hz2K/_new  2016-12-02 16:38:24.0 +0100
@@ -26,6 +26,7 @@
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
 Patch1: fix-aarch64-support.patch
+Patch2: Set-fd-limit.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  systemd-rpm-macros
@@ -45,6 +46,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh

++ Set-fd-limit.patch ++
diff -ur irqbalance-1.0.7.orig/misc/irqbalance.service 
irqbalance-1.0.7/misc/irqbalance.service
--- irqbalance-1.0.7.orig/misc/irqbalance.service   2013-09-25 
13:32:23.0 +0200
+++ irqbalance-1.0.7/misc/irqbalance.service2016-10-14 15:30:11.873319592 
+0200
@@ -5,6 +5,7 @@
 [Service]
 EnvironmentFile=/path/to/irqbalance.env
 ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
+LimitNOFILE=4096
 
 [Install]
 WantedBy=multi-user.target



commit irqbalance for openSUSE:Factory

2016-02-27 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2016-02-28 02:27:11

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2016-02-03 
10:18:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2016-02-28 02:27:15.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 23 10:11:19 UTC 2016 - sch...@suse.de
+
+- fix-aarch64-support.patch: Fix AArch64 support
+
+---

New:

  fix-aarch64-support.patch



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.YfkSFp/_old  2016-02-28 02:27:16.0 +0100
+++ /var/tmp/diff_new_pack.YfkSFp/_new  2016-02-28 02:27:16.0 +0100
@@ -25,6 +25,7 @@
 Url:https://github.com/Irqbalance/irqbalance
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
+Patch1: fix-aarch64-support.patch
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libtool
 BuildRequires:  systemd-rpm-macros
@@ -43,6 +44,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh

++ fix-aarch64-support.patch ++
>From 1dccd034a90b2f0221423632de65cbf84d05ebfb Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz 
Date: Tue, 15 Dec 2015 09:09:09 +0100
Subject: [PATCH] Fix AArch64 support

Signed-off-by: Marcin Juszkiewicz 
Signed-off-by: PJ Waskiewicz 
---
 procinterrupts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/procinterrupts.c b/procinterrupts.c
index 63101d6..b70bfc2 100644
--- a/procinterrupts.c
+++ b/procinterrupts.c
@@ -80,7 +80,7 @@ static int check_platform_device(char *name, struct irq_info 
*info)
rc = 0;
goto out;
} else if (!strncmp(ent->d_name, "net", strlen("net"))) {
-   info->IRQ_TYPE_LEGACY;
+   info->type = IRQ_TYPE_LEGACY;
info->class = IRQ_ETH;
rc = 0;
goto out;
@@ -94,7 +94,7 @@ static int check_platform_device(char *name, struct irq_info 
*info)
 
 out:
closedir(dirfd);
-   log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, 
info->type, info->class)
+   log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, 
info->type, info->class);
return rc;
 
 }
-- 
2.7.1




commit irqbalance for openSUSE:Factory

2016-02-03 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2016-02-03 10:18:45

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2015-11-24 
22:31:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2016-02-03 10:18:46.0 +0100
@@ -1,0 +2,14 @@
+Sun Jan 17 11:46:01 UTC 2016 - mplus...@suse.com
+
+- Update to 1.1.0
+  * Banning support fixes
+  * Load calculation improvements
+  * Documentation fixes
+  * Fix command line preservation across re-scan
+  * Memory leak fixes
+  * Misc. bug fixes
+  * ARM irq support
+  * New --banmod option
+  * New sleep interval option
+
+---

Old:

  v1.0.9.tar.gz

New:

  v1.1.0.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.f4EHgN/_old  2016-02-03 10:18:47.0 +0100
+++ /var/tmp/diff_new_pack.f4EHgN/_new  2016-02-03 10:18:47.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   irqbalance
-Version:1.0.9
+Version:1.1.0
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+
@@ -26,9 +26,6 @@
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
 BuildRequires:  libcap-ng-devel
-%ifnarch %arm
-BuildRequires:  libnuma-devel
-%endif
 BuildRequires:  libtool
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
@@ -36,6 +33,9 @@
 Requires(pre):  fillup
 ExcludeArch:s390 s390x
 %{?systemd_requires}
+%ifnarch %arm
+BuildRequires:  libnuma-devel
+%endif
 
 %description
 irqbalance dynamically switches the CPUs for IRQs to prevent cpu0 from

++ v1.0.9.tar.gz -> v1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqbalance-1.0.9/README new/irqbalance-1.1.0/README
--- old/irqbalance-1.0.9/README 2015-03-16 14:31:53.0 +0100
+++ new/irqbalance-1.1.0/README 1970-01-01 01:00:00.0 +0100
@@ -1,14 +0,0 @@
-What is Irqbalance
-
-Irqbalance is a daemon to help balance the cpu load generated by interrupts
-across all of a systems cpus.  Irqbalance identifies the highest volume
-interrupt sources, and isolates them to a single unique cpu, so that load is
-spread as much as possible over an entire processor set, while minimizing cache
-hit rates for irq handlers.
-
-Building and Installing
-./autogen.sh
-./configure [options]
-make
-make install
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqbalance-1.0.9/README.md 
new/irqbalance-1.1.0/README.md
--- old/irqbalance-1.0.9/README.md  1970-01-01 01:00:00.0 +0100
+++ new/irqbalance-1.1.0/README.md  2015-12-04 16:17:37.0 +0100
@@ -0,0 +1,40 @@
+What is Irqbalance
+==
+
+Irqbalance is a daemon to help balance the cpu load generated by interrupts
+across all of a systems cpus.  Irqbalance identifies the highest volume
+interrupt sources, and isolates them to a single unique cpu, so that load is
+spread as much as possible over an entire processor set, while minimizing cache
+miss rates for irq handlers.
+
+## Building and Installing
+
+```bash
+./autogen.sh
+./configure [options]
+make
+make install
+```
+
+## Developing Irqbalance
+
+Irqbalance is currently hosted on github, and so developers are welcome to use
+the issue/pull request/etc infrastructure found there.  However, most
+development discussions take place on the irqbalance mailing list, which can be
+subscribed to at:
+http://lists.infradead.org/mailman/listinfo/irqbalance
+
+New Developers are encouraged to use this mailing list to discuss ideas and
+propose patches.
+
+## Bug reporting
+
+When something goes wrong, feel free to send us bugreport by one of the ways
+described above. Your report should include:
+
+* Irqbalance version you've been using (or commit hash)
+* `/proc/interrupts` output
+* `irqbalance --debug` output
+* content of smp_affinity files - can be obtained by e.g.:
+   `$ for i in $(seq 0 300); do grep . /proc/irq/$i/smp_affinity /dev/null 
2>/dev/null; done`
+* your hw hierarchy - e.g. `lstopo-no-graphics` output

commit irqbalance for openSUSE:Factory

2015-11-24 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2015-11-24 22:31:24

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2015-11-12 
19:37:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2015-11-24 22:31:26.0 +0100
@@ -1,0 +2,10 @@
+Wed Nov 18 09:59:47 UTC 2015 - mbrug...@suse.com
+
+- Only exclude arch s390 and s390x
+
+---
+Tue Nov 17 16:56:50 UTC 2015 - mbrug...@suse.com
+
+- enable build for aarch64 
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.erMwjI/_old  2015-11-24 22:31:27.0 +0100
+++ /var/tmp/diff_new_pack.erMwjI/_new  2015-11-24 22:31:27.0 +0100
@@ -34,7 +34,7 @@
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  coreutils
 Requires(pre):  fillup
-ExclusiveArch:  %arm ia64 x86_64 ppc64 ppc64le ppc %{sparc}
+ExcludeArch:s390 s390x
 %{?systemd_requires}
 
 %description




commit irqbalance for openSUSE:Factory

2015-11-12 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2015-11-12 19:37:18

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is "irqbalance"

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2015-03-19 
20:55:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2015-11-12 19:37:19.0 +0100
@@ -1,0 +2,5 @@
+Mon Nov  9 10:31:40 UTC 2015 - dmuel...@suse.com
+
+- enable build for %arm
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.lYQlb9/_old  2015-11-12 19:37:20.0 +0100
+++ /var/tmp/diff_new_pack.lYQlb9/_new  2015-11-12 19:37:20.0 +0100
@@ -26,13 +26,15 @@
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
 BuildRequires:  libcap-ng-devel
+%ifnarch %arm
 BuildRequires:  libnuma-devel
+%endif
 BuildRequires:  libtool
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  coreutils
 Requires(pre):  fillup
-ExclusiveArch:  ia64 x86_64 ppc64 ppc64le ppc %{sparc}
+ExclusiveArch:  %arm ia64 x86_64 ppc64 ppc64le ppc %{sparc}
 %{?systemd_requires}
 
 %description




commit irqbalance for openSUSE:Factory

2015-03-19 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2015-03-19 20:55:44

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2015-01-24 
22:20:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2015-03-19 20:55:45.0 +0100
@@ -1,0 +2,11 @@
+Mon Mar 16 20:21:29 UTC 2015 - mplus...@suse.com
+
+- Clenup spec file with spec-cleaner
+- Remove bug-893478_warn-once.patch
+- Update to 1.0.9
+  * PCI quirk support
+  * System Logging compatibility
+  * isolcpus inheritance
+  * Misc. Bugfixes
+
+---

Old:

  bug-893478_warn-once.patch
  v1.0.8.tar.gz

New:

  v1.0.9.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.H2CqVQ/_old  2015-03-19 20:55:46.0 +0100
+++ /var/tmp/diff_new_pack.H2CqVQ/_new  2015-03-19 20:55:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   irqbalance
-Version:1.0.8
+Version:1.0.9
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+
@@ -25,15 +25,14 @@
 Url:https://github.com/Irqbalance/irqbalance
 Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
-Patch0: bug-893478_warn-once.patch
+BuildRequires:  libcap-ng-devel
 BuildRequires:  libnuma-devel
 BuildRequires:  libtool
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  coreutils
 Requires(pre):  fillup
-ExclusiveArch:  ia64 x86_64 ppc64 ppc64le ppc %sparc
-BuildRequires:  libcap-ng-devel
-BuildRequires:  systemd
+ExclusiveArch:  ia64 x86_64 ppc64 ppc64le ppc %{sparc}
 %{?systemd_requires}
 
 %description
@@ -42,12 +41,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh
 %configure
-make LDFLAGS=-Wl,-z,relro,-z,now CFLAGS=%{optflags} -fPIE -pie
+make %{?_smp_mflags} LDFLAGS=-Wl,-z,relro,-z,now CFLAGS=%{optflags} -fPIE 
-pie
 cp %{SOURCE3} .
 gzip irqbalance.1
 
@@ -58,11 +56,11 @@
 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/
-sed -ie s|EnvironmentFile=.*|EnvironmentFile=/etc/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
 sed -ie s|After=syslog.target||g misc/irqbalance.service
 install -D -m 0644 misc/irqbalance.service 
%{buildroot}%{_unitdir}/irqbalance.service
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirqbalance
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcirqbalance
 
 %pre
 %service_add_pre irqbalance.service

++ v1.0.8.tar.gz - v1.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqbalance-1.0.8/activate.c 
new/irqbalance-1.0.9/activate.c
--- old/irqbalance-1.0.8/activate.c 2014-12-17 16:11:44.0 +0100
+++ new/irqbalance-1.0.9/activate.c 2015-03-16 14:31:53.0 +0100
@@ -84,11 +84,14 @@
if ((info-hint_policy == HINT_POLICY_SUBSET) 
(!cpus_empty(info-affinity_hint))) {
cpus_and(applied_mask, applied_mask, 
info-affinity_hint);
-   if (!cpus_intersects(applied_mask, unbanned_cpus))
-   log(TO_ALL, LOG_WARNING,
-   irq %d affinity_hint subset empty\n,
-  info-irq);
-   else
+   if (!cpus_intersects(applied_mask, unbanned_cpus)) {
+   if (!info-warned) {
+   info-warned = 1;
+   log(TO_ALL, LOG_WARNING,
+   irq %d affinity_hint subset 
empty\n,
+   info-irq);
+   }
+   } else
 

commit irqbalance for openSUSE:Factory

2015-01-24 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2015-01-24 22:20:01

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2014-09-20 
15:50:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2015-01-24 22:20:02.0 +0100
@@ -1,0 +2,9 @@
+Fri Jan 23 10:36:21 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 1.0.8
+  * No ChangeLog available
+- Fix home page and download source Url
+- Update bug-893478_warn-once.patch; (submitted and accepted to/by
+  upstream)
+
+---

Old:

  irqbalance-1.0.7.tar.bz2

New:

  v1.0.8.tar.gz



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.HTU8Q6/_old  2015-01-24 22:20:03.0 +0100
+++ /var/tmp/diff_new_pack.HTU8Q6/_new  2015-01-24 22:20:03.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,13 +17,13 @@
 
 
 Name:   irqbalance
-Version:1.0.7
+Version:1.0.8
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+
 Group:  System/Daemons
-Url:http://code.google.com/p/irqbalance
-Source: 
http://irqbalance.googlecode.com/files/%{name}-%{version}.tar.bz2
+Url:https://github.com/Irqbalance/irqbalance
+Source: 
https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
 Source3:sysconfig.irqbalance
 Patch0: bug-893478_warn-once.patch
 BuildRequires:  libnuma-devel
@@ -32,9 +32,7 @@
 Requires(pre):  coreutils
 Requires(pre):  fillup
 ExclusiveArch:  ia64 x86_64 ppc64 ppc64le ppc %sparc
-%if 0%{?suse_version} = 1130
 BuildRequires:  libcap-ng-devel
-%endif
 BuildRequires:  systemd
 %{?systemd_requires}
 
@@ -47,7 +45,7 @@
 %patch0 -p1
 
 %build
-./autogen.sh
+NOCONFIGURE=1 ./autogen.sh
 %configure
 make LDFLAGS=-Wl,-z,relro,-z,now CFLAGS=%{optflags} -fPIE -pie
 cp %{SOURCE3} .

++ bug-893478_warn-once.patch ++
--- /var/tmp/diff_new_pack.HTU8Q6/_old  2015-01-24 22:20:03.0 +0100
+++ /var/tmp/diff_new_pack.HTU8Q6/_new  2015-01-24 22:20:03.0 +0100
@@ -11,8 +11,8 @@
 
 --- a/activate.c
 +++ b/activate.c
-@@ -84,11 +84,14 @@ static void activate_mapping(struct irq_
-   if ((hint_policy == HINT_POLICY_SUBSET) 
+@@ -84,11 +84,14 @@ static void activate_mapping(struct irq_info *info, void 
*data __attribute__((un
+   if ((info-hint_policy == HINT_POLICY_SUBSET) 
(!cpus_empty(info-affinity_hint))) {
cpus_and(applied_mask, applied_mask, 
info-affinity_hint);
 -  if (!cpus_intersects(applied_mask, unbanned_cpus))
@@ -31,6 +31,7 @@
valid_mask = 1;
} else {
valid_mask = 1;
+
 --- a/types.h
 +++ b/types.h
 @@ -69,6 +69,7 @@ struct irq_info {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2014-09-20 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2014-09-20 15:50:41

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2014-09-12 
11:19:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2014-09-20 15:50:44.0 +0200
@@ -4 +4 @@
-- Only warn once for affinity hint subset empty irqs
+- Only warn once for affinity hint subset empty irqs (bnc#893478)



Other differences:
--
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2014-09-12 11:19:05

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2014-06-19 
13:08:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2014-09-12 11:19:06.0 +0200
@@ -1,0 +2,8 @@
+Thu Sep 11 13:12:26 UTC 2014 - tr...@suse.de
+
+- Only warn once for affinity hint subset empty irqs
+* Add bug-893478_warn-once.patch
+- Rename rcirq_balancer like the package name and the already renamed
+  systemd service: rcirqbalance
+
+---

New:

  bug-893478_warn-once.patch



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.ytoiEq/_old  2014-09-12 11:19:07.0 +0200
+++ /var/tmp/diff_new_pack.ytoiEq/_new  2014-09-12 11:19:07.0 +0200
@@ -25,6 +25,7 @@
 Url:http://code.google.com/p/irqbalance
 Source: 
http://irqbalance.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source3:sysconfig.irqbalance
+Patch0: bug-893478_warn-once.patch
 BuildRequires:  libnuma-devel
 BuildRequires:  libtool
 BuildRequires:  pkgconfig(glib-2.0)
@@ -43,6 +44,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 ./autogen.sh
@@ -62,7 +64,7 @@
 # Remove syslog.target in systemd service file; not provided by systemd anymore
 sed -ie s|After=syslog.target||g misc/irqbalance.service
 install -D -m 0644 misc/irqbalance.service 
%{buildroot}%{_unitdir}/irqbalance.service
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirq_balancer
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirqbalance
 
 %pre
 %service_add_pre irqbalance.service
@@ -80,7 +82,7 @@
 %files
 %defattr(-,root,root,-)
 %{_sbindir}/irqbalance
-%{_sbindir}/rcirq_balancer
+%{_sbindir}/rcirqbalance
 %{_unitdir}/irqbalance.service
 %{_mandir}/man1/irqbalance.1.gz
 %{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance

++ bug-893478_warn-once.patch ++
From: Takashi Iwai ti...@suse.com
Only warn once for affinity hint subset empty irqs

bnc#893478

Signed-off-by: Thomas Renninger tr...@suse.de
---
 activate.c |   13 -
 types.h|1 +
 2 files changed, 9 insertions(+), 5 deletions(-)

--- a/activate.c
+++ b/activate.c
@@ -84,11 +84,14 @@ static void activate_mapping(struct irq_
if ((hint_policy == HINT_POLICY_SUBSET) 
(!cpus_empty(info-affinity_hint))) {
cpus_and(applied_mask, applied_mask, 
info-affinity_hint);
-   if (!cpus_intersects(applied_mask, unbanned_cpus))
-   log(TO_ALL, LOG_WARNING,
-   irq %d affinity_hint subset empty\n,
-  info-irq);
-   else
+   if (!cpus_intersects(applied_mask, unbanned_cpus)) {
+   if (!info-warned) {
+   info-warned = 1;
+   log(TO_ALL, LOG_WARNING,
+   irq %d affinity_hint subset 
empty\n,
+   info-irq);
+   }
+   } else
valid_mask = 1;
} else {
valid_mask = 1;
--- a/types.h
+++ b/types.h
@@ -69,6 +69,7 @@ struct irq_info {
uint64_t load;
int moved;
 struct topo_obj *assigned_obj;
+   unsigned int warned;
 };
 
 #endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2014-06-19 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2014-06-19 13:08:31

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2013-12-16 
07:07:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2014-06-19 13:08:37.0 +0200
@@ -1,0 +2,17 @@
+Mon Jun 16 13:22:17 UTC 2014 - tr...@suse.de
+
+- Change non-existing group: System/Environment/Daemons to System/Daemons
+
+---
+Fri Jun 13 15:43:32 UTC 2014 - tr...@suse.de
+
+- Really fillup (and create) /etc/sysconfig/irqbalance file
+- Remove IRQBALANCE_ONESHOT variable from sysconfig file.
+  Default IRQBALANCE_ONESHOT=auto will be interpreted as --oneshot, other
+  than documented in /etc/sysconfig/irqbalance. The same can be achieved via
+  passing --oneshot via newly introduced IRQBALANCE_ARGS= variable (see below)
+  bnc#874125
+- The irqbalance.service file passes $IRQBALANCE_ARGS when the daemon
+  is started. Provide it for the user via /etc/sysconfig/irqbalance.
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.YBzUnn/_old  2014-06-19 13:08:38.0 +0200
+++ /var/tmp/diff_new_pack.YBzUnn/_new  2014-06-19 13:08:38.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -21,7 +21,7 @@
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+
-Group:  System/Environment/Daemons
+Group:  System/Daemons
 Url:http://code.google.com/p/irqbalance
 Source: 
http://irqbalance.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source3:sysconfig.irqbalance
@@ -68,7 +68,7 @@
 %service_add_pre irqbalance.service
 
 %post
-%fillup_only
+%fillup_only %{name}
 %service_add_post irqbalance.service
 
 %preun

++ sysconfig.irqbalance ++
--- /var/tmp/diff_new_pack.YBzUnn/_old  2014-06-19 13:08:38.0 +0200
+++ /var/tmp/diff_new_pack.YBzUnn/_new  2014-06-19 13:08:38.0 +0200
@@ -3,25 +3,15 @@
 
 ## Type:   string
 ## Default:
-## ServiceRestart: irq_balancer
+## ServiceRestart: irqbalance
 #
 # Bitmap of CPUs that are banned from IRQ balancing
 #
 IRQBALANCE_BANNED_CPUS=
 
-## Type:   list(auto,enabled)
-## Default:auto
-## ServiceRestart: Iirq_balancer
-#
-# Instead of running as daemon, the IRQ balancer just does a setup
-# once and then exits. auto is the default behaviour which means that
-# the service is started as daemon.
-#
-IRQBALANCE_ONESHOT=auto
-
 ## Type:   string
 ## Default:
-## ServiceRestart: Iirq_balancer
+## ServiceRestart: irqbalance
 #
 # Interrupt that don't get balanced as list (separation character doesn't
 # matter). For example broken chipsets don't allow the timer interrupt
@@ -30,3 +20,12 @@
 #
 IRQBALANCE_BANNED_INTERRUPTS=
 
+## Type:string
+## Default: 
+## ServiceRestart: irqbalance
+#
+# Pass specific irqbalance(1) options when the service is started via
+# systemctl. For example --debug will show additional output via
+# systemctl status irqbalance
+#
+IRQBALANCE_ARGS=

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2013-12-15 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2013-12-16 07:07:42

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2013-04-02 
11:55:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2013-12-16 07:07:44.0 +0100
@@ -1,0 +2,16 @@
+Wed Dec 11 13:50:43 UTC 2013 - dval...@suse.com
+
+- enable ppc64le 
+
+---
+Sun Oct 20 16:21:41 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 1.0.7
+  + No changelog available
+- Drop sysvinit support as no target systems use it anymore
+- Keep rcirq_balancer, make it symlink to /usr/sbin/service
+- Remove syslog.target in irqbalance.service
+  Please see 
http://lists.opensuse.org/archive/opensuse-packaging/2013-05/msg00102.html
+- Change Group for valid one
+
+---

Old:

  irq_balancer
  irqbalance-1.0.4.tar.bz2

New:

  irqbalance-1.0.7.tar.bz2



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.6NrL3r/_old  2013-12-16 07:07:44.0 +0100
+++ /var/tmp/diff_new_pack.6NrL3r/_new  2013-12-16 07:07:44.0 +0100
@@ -17,30 +17,25 @@
 
 
 Name:   irqbalance
-Version:1.0.4
+Version:1.0.7
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+
-Group:  System/Daemons
+Group:  System/Environment/Daemons
 Url:http://code.google.com/p/irqbalance
 Source: 
http://irqbalance.googlecode.com/files/%{name}-%{version}.tar.bz2
-Source2:irq_balancer
 Source3:sysconfig.irqbalance
 BuildRequires:  libnuma-devel
 BuildRequires:  libtool
 BuildRequires:  pkgconfig(glib-2.0)
 Requires(pre):  coreutils
 Requires(pre):  fillup
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  ia64 x86_64 ppc64 ppc %sparc
+ExclusiveArch:  ia64 x86_64 ppc64 ppc64le ppc %sparc
 %if 0%{?suse_version} = 1130
 BuildRequires:  libcap-ng-devel
 %endif
-%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
@@ -58,51 +53,35 @@
 
 %install
 mkdir -p %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_sysconfdir}/init.d
 install -m 0755 irqbalance %{buildroot}%{_sbindir}
-install -m 0755 $RPM_SOURCE_DIR/irq_balancer %{buildroot}%{_sysconfdir}/init.d
-ln -s /etc/init.d/irq_balancer %{buildroot}%{_sbindir}/rcirq_balancer
 mkdir -p %{buildroot}%{_mandir}/man1
 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/
-%if 0%{?has_systemd}
 sed -ie s|EnvironmentFile=.*|EnvironmentFile=/etc/sysconfig/irqbalance|g 
misc/irqbalance.service
+# Remove syslog.target in systemd service file; not provided by systemd anymore
+sed -ie s|After=syslog.target||g misc/irqbalance.service
 install -D -m 0644 misc/irqbalance.service 
%{buildroot}%{_unitdir}/irqbalance.service
-%endif
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirq_balancer
 
 %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
-%if 0%{?has_systemd}
-%{_unitdir}/irqbalance.service
-%endif
 %{_sbindir}/rcirq_balancer
+%{_unitdir}/irqbalance.service
 %{_mandir}/man1/irqbalance.1.gz
 %{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance
 

++ irqbalance-1.0.4.tar.bz2 - irqbalance-1.0.7.tar.bz2 ++
 7453 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2013-04-02 11:54:57

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2012-11-26 
18:59:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2013-04-02 11:55:00.0 +0200
@@ -1,0 +2,6 @@
+Thu Mar 28 10:12:53 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.qWp9R4/_old  2013-04-02 11:55:04.0 +0200
+++ /var/tmp/diff_new_pack.qWp9R4/_new  2013-04-02 11:55:04.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -23,7 +23,7 @@
 License:GPL-2.0+
 Group:  System/Daemons
 Url:http://code.google.com/p/irqbalance
-Source: %{name}-%{version}.tar.bz2
+Source: 
http://irqbalance.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source2:irq_balancer
 Source3:sysconfig.irqbalance
 BuildRequires:  libnuma-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2012-11-26 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2012-11-26 18:57:11

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2012-09-25 
10:25:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2012-11-26 18:59:02.0 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 14:30:37 UTC 2012 - rmila...@suse.com
+
+- Ensure that EnvironmentFile from irqbalance.service points to
+  /etc/sysconfig/irqbalance environment config file.
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.Wtv0T9/_old  2012-11-26 18:59:04.0 +0100
+++ /var/tmp/diff_new_pack.Wtv0T9/_new  2012-11-26 18:59:04.0 +0100
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   irqbalance
 Version:1.0.4
 Release:0
@@ -68,6 +67,7 @@
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/
 install -m 0644 sysconfig.irqbalance 
%{buildroot}%{_localstatedir}/adm/fillup-templates/
 %if 0%{?has_systemd}
+sed -ie s|EnvironmentFile=.*|EnvironmentFile=/etc/sysconfig/irqbalance|g 
misc/irqbalance.service
 install -D -m 0644 misc/irqbalance.service 
%{buildroot}%{_unitdir}/irqbalance.service
 %endif
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2012-09-25 10:25:52

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2012-06-26 
16:01:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2012-09-25 10:25:57.0 +0200
@@ -1,0 +2,15 @@
+Thu Sep  6 11:07:36 UTC 2012 - tr...@suse.de
+
+- Update to version 1.0.4:
+  New release of irqbalance, several minor cleanups and a few
+  significant bug fixes and feature enhancements:
+- Fixed a divide by zero bug
+- Fixed a memory corruptor when items are not assigned to a specfic numa 
node
+- Added a banscript option, that allows a user defined script to be run to
+  determine if a given irq should be excluded from balancing
+- Improve rescan ability to catch a timing race early in irqbalance setup
+- Added ability to force irqbalance to rescan irqs on reception of a 
SIGHUP.
+- Force affinity settings even if manually overridden outside of 
irqbalance.
+- Added a --foreground option to force foreground execution without debug 
output
+
+---

Old:

  irqbalance-1.0.3.tar.bz2

New:

  irqbalance-1.0.4.tar.bz2



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.dR6U86/_old  2012-09-25 10:25:58.0 +0200
+++ /var/tmp/diff_new_pack.dR6U86/_new  2012-09-25 10:25:58.0 +0200
@@ -16,8 +16,9 @@
 #
 
 
+
 Name:   irqbalance
-Version:1.0.3
+Version:1.0.4
 Release:0
 Summary:Balance IRQs on SMP Machines
 License:GPL-2.0+

++ irqbalance-1.0.3.tar.bz2 - irqbalance-1.0.4.tar.bz2 ++
  lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2012-06-26 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2012-06-26 16:01:40

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2012-05-14 
16:14:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2012-06-26 16:01:41.0 +0200
@@ -1,0 +2,7 @@
+Mon Jun 25 15:01:39 UTC 2012 - tr...@suse.de
+
+- Correct bogus /etc/sysconfig/irqbalance comment:
+  Service is started as daemon by default, on single and multi core
+  systems
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.4dtWic/_old  2012-06-26 16:01:42.0 +0200
+++ /var/tmp/diff_new_pack.4dtWic/_new  2012-06-26 16:01:42.0 +0200
@@ -16,14 +16,13 @@
 #
 
 
-
 Name:   irqbalance
 Version:1.0.3
 Release:0
-License:GPL-2.0+
 Summary:Balance IRQs on SMP Machines
-Url:http://code.google.com/p/irqbalance
+License:GPL-2.0+
 Group:  System/Daemons
+Url:http://code.google.com/p/irqbalance
 Source: %{name}-%{version}.tar.bz2
 Source2:irq_balancer
 Source3:sysconfig.irqbalance

++ sysconfig.irqbalance ++
--- /var/tmp/diff_new_pack.4dtWic/_old  2012-06-26 16:01:42.0 +0200
+++ /var/tmp/diff_new_pack.4dtWic/_new  2012-06-26 16:01:42.0 +0200
@@ -15,8 +15,7 @@
 #
 # Instead of running as daemon, the IRQ balancer just does a setup
 # once and then exits. auto is the default behaviour which means that
-# one socket but multi core CPUs get a oneshot setup. enabled always
-# enables oneshot mode, regardless of the CPUs.
+# the service is started as daemon.
 #
 IRQBALANCE_ONESHOT=auto
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2012-05-14 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2012-05-14 16:14:41

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2011-12-14 
14:33:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2012-05-14 16:14:43.0 +0200
@@ -1,0 +2,5 @@
+Wed May  9 15:28:56 UTC 2012 - tr...@suse.de
+
+- Update to version 1.0.3 and make spec file to spec-cleaner clean.
+
+---

Old:

  irqbalance-1.0.tar.bz2

New:

  irqbalance-1.0.3.tar.bz2



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.Kcf5rZ/_old  2012-05-14 16:14:45.0 +0200
+++ /var/tmp/diff_new_pack.Kcf5rZ/_new  2012-05-14 16:14:45.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqbalance
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,8 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+
 Name:   irqbalance
-Version:1.0
+Version:1.0.3
 Release:0
 License:GPL-2.0+
 Summary:Balance IRQs on SMP Machines
@@ -28,10 +30,10 @@
 BuildRequires:  libnuma-devel
 BuildRequires:  libtool
 BuildRequires:  pkgconfig(glib-2.0)
-PreReq: coreutils
-PreReq: fillup
-ExclusiveArch:  ia64 x86_64 ppc64 ppc %sparc
+Requires(pre):  coreutils
+Requires(pre):  fillup
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+ExclusiveArch:  ia64 x86_64 ppc64 ppc %sparc
 %if 0%{?suse_version} = 1130
 BuildRequires:  libcap-ng-devel
 %endif

++ irqbalance-1.0.tar.bz2 - irqbalance-1.0.3.tar.bz2 ++
 40635 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2011-12-14 Thread h_root
Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory 
checked in at 2011-12-14 14:33:24

Comparing /work/SRC/openSUSE:Factory/irqbalance (Old)
 and  /work/SRC/openSUSE:Factory/.irqbalance.new (New)


Package is irqbalance, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes2011-12-06 
13:52:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes   
2011-12-14 14:33:25.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec  1 17:11:11 UTC 2011 - co...@suse.com
+
+- make it as exclusive as numactl
+
+---



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.NtCgIP/_old  2011-12-14 14:33:26.0 +0100
+++ /var/tmp/diff_new_pack.NtCgIP/_new  2011-12-14 14:33:26.0 +0100
@@ -15,23 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   irqbalance
 Version:1.0
-Release:9
-License:GPLv2+
+Release:0
+License:GPL-2.0+
 Summary:Balance IRQs on SMP Machines
 Url:http://code.google.com/p/irqbalance
 Group:  System/Daemons
 Source: %{name}-%{version}.tar.bz2
 Source2:irq_balancer
 Source3:sysconfig.irqbalance
-BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  libnuma-devel
 BuildRequires:  libtool
+BuildRequires:  pkgconfig(glib-2.0)
 PreReq: coreutils
 PreReq: fillup
+ExclusiveArch:  ia64 x86_64 ppc64 ppc %sparc
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} = 1130
 BuildRequires:  libcap-ng-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2011-10-16 Thread h_root

Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory
checked in at Sun Oct 16 12:50:45 CEST 2011.




--- openSUSE:Factory/irqbalance/irqbalance.changes  2011-09-23 
02:03:43.0 +0200
+++ /mounts/work_src_done/STABLE/irqbalance/irqbalance.changes  2011-10-15 
06:51:34.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct 15 04:47:08 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+---

calling whatdependson for head-i586




Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.3gkMkY/_old  2011-10-16 12:50:41.0 +0200
+++ /var/tmp/diff_new_pack.3gkMkY/_new  2011-10-16 12:50:41.0 +0200
@@ -31,6 +31,7 @@
 Source4:irqbalance.service
 # xorg-x11-util-devel is for gccmakedep
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  libtool
 PreReq: coreutils
 PreReq: fillup
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqbalance for openSUSE:Factory

2011-08-18 Thread h_root

Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory
checked in at Thu Aug 18 15:34:55 CEST 2011.




--- irqbalance/irqbalance.changes   2011-06-07 16:14:13.0 +0200
+++ irqbalance/irqbalance.changes   2011-08-16 10:43:26.0 +0200
@@ -1,0 +2,8 @@
+Tue Aug 16 08:40:22 UTC 2011 - sasc...@suse.de
+
+- Run spec-cleaner on spec file
+- Don't start irqbalance by default, testing confirmed that it does
+  not make any difference on machines with less than 32 cores 
+  nowadays (GKH's comment)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.nBivlM/_old  2011-08-18 15:30:41.0 +0200
+++ /var/tmp/diff_new_pack.nBivlM/_new  2011-08-18 15:30:41.0 +0200
@@ -15,43 +15,37 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   irqbalance
-License:GPLv2+
-Group:  System/Daemons
-AutoReqProv:on
-PreReq: %insserv_prereq
 Version:0.56_svn201010021305
-Release:7
+Release:9
+License:GPLv2+
 Summary:Balance IRQs on SMP Machines
+Url:http://www.irqbalance.org
+Group:  System/Daemons
 Source: %{name}-%{version}.tar.bz2
 Source1:irqbalance.pod
 Source2:irq_balancer
 Source3:sysconfig.irqbalance
 Source4:irqbalance.service
-Url:http://www.irqbalance.org
-PreReq: coreutils fillup
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # xorg-x11-util-devel is for gccmakedep
-BuildRequires:  glib2-devel
-%if 0%{suse_version} = 1130
+BuildRequires:  pkgconfig(glib-2.0)
+PreReq: coreutils
+PreReq: fillup
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%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
 
 %description
 irqbalance dynamically switches the CPUs for IRQs to prevent cpu0 from
 being used for all IRQs.
 
-
-
-Authors:
-
-Arjan van de Ven ar...@linux.intel.com
-
 %prep
 %setup -q
 %patch0 -p1
@@ -60,35 +54,31 @@
 %build
 ./autogen.sh
 %configure
-make LDFLAGS=-Wl,-z,relro,-z,now CFLAGS=$RPM_OPT_FLAGS -fPIE -pie
+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
-mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
-install -m 0755 irqbalance $RPM_BUILD_ROOT/%{_sbindir}
-install -m 0755 $RPM_SOURCE_DIR/irq_balancer $RPM_BUILD_ROOT/etc/init.d
-ln -s /etc/init.d/irq_balancer $RPM_BUILD_ROOT/%{_sbindir}/rcirq_balancer
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
-install -m 0644 irqbalance.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1
-mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/
-install -m 0644 sysconfig.irqbalance $RPM_BUILD_ROOT/var/adm/fillup-templates/
-mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/
-install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/
+mkdir -p %{buildroot}%{_sbindir}
+mkdir -p %{buildroot}%{_sysconfdir}/init.d
+install -m 0755 irqbalance %{buildroot}%{_sbindir}
+install -m 0755 $RPM_SOURCE_DIR/irq_balancer %{buildroot}%{_sysconfdir}/init.d
+ln -s /etc/init.d/irq_balancer %{buildroot}%{_sbindir}/rcirq_balancer
+mkdir -p %{buildroot}%{_mandir}/man1
+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/
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%post
+%fillup_only
 
 %preun
 %stop_on_removal irq_balancer
 
-%post
-%insserv_force_if_yast irq_balancer
-%{fillup_only}
-
 %postun
 %restart_on_update irq_balancer
 %insserv_cleanup
@@ -96,10 +86,10 @@
 %files
 %defattr(-,root,root,-)
 %{_sbindir}/irqbalance
-/etc/init.d/irq_balancer
+%{_sysconfdir}/init.d/irq_balancer
 /lib/systemd/system/irqbalance.service
 %{_sbindir}/rcirq_balancer
 %{_mandir}/man1/irqbalance.1.gz
-/var/adm/fillup-templates/sysconfig.irqbalance
+%{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance
 
 %changelog

++ irq_balancer ++
--- /var/tmp/diff_new_pack.nBivlM/_old  2011-08-18 15:30:41.0 +0200
+++ /var/tmp/diff_new_pack.nBivlM/_new  2011-08-18 15:30:41.0 +0200
@@ -10,7 +10,7 @@
 # Provides:  irqbalance
 # Required-Start:$remote_fs
 

commit irqbalance for openSUSE:Factory

2011-07-07 Thread h_root

Hello community,

here is the log from the commit of package irqbalance for openSUSE:Factory
checked in at Thu Jul 7 15:08:01 CEST 2011.




--- irqbalance/irqbalance.changes   2010-11-07 14:58:29.0 +0100
+++ /mounts/work_src_done/STABLE/irqbalance/irqbalance.changes  2011-06-07 
16:14:13.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun  7 14:13:36 UTC 2011 - a...@suse.de
+
+- Add systemd service file.
+
+---

calling whatdependson for head-i586


New:

  irqbalance.service



Other differences:
--
++ irqbalance.spec ++
--- /var/tmp/diff_new_pack.tBrm0P/_old  2011-07-07 15:01:05.0 +0200
+++ /var/tmp/diff_new_pack.tBrm0P/_new  2011-07-07 15:01:05.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package irqbalance (Version 0.56_svn201010021305)
+# spec file for package irqbalance
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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,12 +24,13 @@
 AutoReqProv:on
 PreReq: %insserv_prereq
 Version:0.56_svn201010021305
-Release:2
+Release:7
 Summary:Balance IRQs on SMP Machines
 Source: %{name}-%{version}.tar.bz2
 Source1:irqbalance.pod
 Source2:irq_balancer
 Source3:sysconfig.irqbalance
+Source4:irqbalance.service
 Url:http://www.irqbalance.org
 PreReq: coreutils fillup
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -75,6 +76,8 @@
 install -m 0644 irqbalance.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/
 install -m 0644 sysconfig.irqbalance $RPM_BUILD_ROOT/var/adm/fillup-templates/
+mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/
+install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -94,6 +97,7 @@
 %defattr(-,root,root,-)
 %{_sbindir}/irqbalance
 /etc/init.d/irq_balancer
+/lib/systemd/system/irqbalance.service
 %{_sbindir}/rcirq_balancer
 %{_mandir}/man1/irqbalance.1.gz
 /var/adm/fillup-templates/sysconfig.irqbalance

++ irqbalance.service ++
[Unit]
Description=irqbalance daemon
After=syslog.target

[Service]
EnvironmentFile=/etc/sysconfig/irqbalance
Type=forking
ExecStart=/usr/sbin/irqbalance $ONESHOT

[Install]
WantedBy=multi-user.target





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org