]> git.michaelhowe.org Git - packages/o/openafs.git/commit
rpms: Make makesrpm.pl cater for new rpm names
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 17 Mar 2011 19:28:23 +0000 (19:28 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 23 Mar 2011 18:29:46 +0000 (11:29 -0700)
commitca878f0eac4775f02967e9df31f54a28573f12dd
treea9c3be445ffbdb7e6a9fa5fd9f4f07c812213bbc
parent35451a9d436d6359faab933fd2432b84f5dddf8e
rpms: Make makesrpm.pl cater for new rpm names

Starting from 1.6.0, our specfile no longer adds a stray '1.' to the
start of the release field. makesrpm.pl was failing to deal with
these new-style names and therefore not actually making an rpm.

Fix this by conditionalising on the OpenAFS version when selecting
which rpm to copy.

Reviewed-on: http://gerrit.openafs.org/4258
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit af854b4e2f19e5f1a83b686e99ca3dd6122af942)

Change-Id: I95bc506e1113d0054b2aaca3a301551de1f086db
Reviewed-on: http://gerrit.openafs.org/4280
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/packaging/RedHat/makesrpm.pl