redhat: Create unique debuginfo packages for kmods 77/12977/3
authorStephan Wiesand <stephan.wiesand@desy.de>
Mon, 26 Mar 2018 18:21:19 +0000 (20:21 +0200)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 30 Mar 2018 13:54:35 +0000 (09:54 -0400)
commit387ae9536888419d7b101513e04e1c644e3218d6
tree566ea6753177685e996c40bc3f613f2afcc312ec
parent60a006bdc43df42e40eb43f1e1af7fffe3e85763
redhat: Create unique debuginfo packages for kmods

Commit 443dd5367e0cd9050ad39a6594c5be521271b4e9 ("redhat:
separate debuginfo package for kmod rpm") introduced the
creation of separate debuginfo packages for the kmod packages.
As such, this is useful, but all debuginfo packages for a given
OpenAFS release ended up with the same name/version/release for
the kmod debuginfo package, no matter which kernel release or
variant the kmod was built for.

Move the additional black magic from the spec into the kmodtool
script where we have the means to do better: Use the same naming
and versioning conventions as for the kmod-openafs packages
themselves.

Change-Id: Ibcb34e4c8efde13d0600005772751d8aeb8154aa
Reviewed-on: https://gerrit.openafs.org/12977
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/packaging/RedHat/openafs-kmodtool
src/packaging/RedHat/openafs.spec.in