rpm: Build srpms without %dist in their name
authorSimon Wilkinson <sxw@your-file-system.com>
Wed, 23 Mar 2011 15:35:35 +0000 (15:35 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 23 Mar 2011 19:39:46 +0000 (12:39 -0700)
commitb0921071dd1b4d460d406985bba9619561444055
treec952434fd49df7dd923478b8663abac42eeb104e
parent9ac85bb2fd91baa4c3077d091f395f57e933018a
rpm: Build srpms without %dist in their name

On RHEL6, %dist is set for all RPMS and SRPMS built on the system. This
leads to makesrpm.pl building SRPMS with .el6 in their release. As we
endeavour to use the same SRPM on all of our Fedora platforms, this is
less than ideal, so change makesrpm.pl to squash the setting of %dist
before building the RPM.

Change-Id: I5b5b9db7654ce21a269233e8950d4f4d1df81ad7
Reviewed-on: http://gerrit.openafs.org/4285
Reviewed-by: Alexander Ivan Redinger <aredinger@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/packaging/RedHat/makesrpm.pl