]> git.michaelhowe.org Git - packages/o/openafs.git/commit
RedHat packaging: Use %{dist} not %{osver}
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 18 Feb 2011 00:36:33 +0000 (00:36 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 18 Feb 2011 14:14:17 +0000 (06:14 -0800)
commit29d624a98cca1a2e31fc8cc51c7e4d1577b5282d
tree05d26c3756d491554705c1b03e45f769ff63b72f
parentde1158431ad3308886c54c8ff3d8b6dc8259c41b
RedHat packaging: Use %{dist} not %{osver}

There's a standard mechanism for defining a RPMs target
distribution in the Fedora and RedHat worlds. This is to use the
%{dist} macro, and to insert it at the end (not the beginning) of
the release field.

Move over to using this standard mechanism, and modify the build
system to match. Note that this means that RPM names have now
changed slightly.

Reviewed-on: http://gerrit.openafs.org/3981
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 2b094cae6c39bc9e2d8f23f4654e137876b25d57)

Change-Id: I764a91e787acb2d2e3d0595cb344bc5b44465bd9
Reviewed-on: http://gerrit.openafs.org/3984
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/packaging/RedHat/mockbuild.pl
src/packaging/RedHat/openafs.spec.in