| AArch64 | |
| ppc64le | |
| s390x | |
| x86-64 |
- Use %autosetup macro. Allows to eliminate the usage of deprecated PatchN.
- rebuild when kernel version changes - spec cleaning
- BuildRequire kernel-devel because we want to rebuild when it gets updated
- Escape the usage of %{VERSION} when calling out to rpm.
RPM 4.14 has %{VERSION} defined as 'the main packages version'.
- adapt to new kernel version and new location of getdelays.c
- delayacct-utils-nl.patch DO not attempt to link getdelays with libnl1, it is a bogus dependency, resulting executable never uses the library.
- fix build
- Remove redundant tags/sections from specfile (cf. packaging guidelines) - Use %_smp_mflags for parallel build
- Select libnl-1_1-devel
- drop unnecessary patch, it is now upstream (in the kernel tree)