]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
packaging: apply udev hack rule to RHEL
authorDerek Yarnell <derek@umiacs.umd.edu>
Mon, 27 Jan 2014 19:27:51 +0000 (12:27 -0700)
committerSage Weil <sage@inktank.com>
Mon, 27 Jan 2014 21:51:06 +0000 (13:51 -0800)
commit9801718e6e7a335d1aeffb7f3d958b012d8dd79c
tree374fc8314d60f60cd48626f16ae758b8b03a26b1
parent5817078ba9b2aa38f39e1f62d8d08e943646c0bb
packaging: apply udev hack rule to RHEL

In the RPM spec file there is a test to deploy the uuid hack udev rules
for older udev operating systems. This includes CentOS and RHEL, but the
check currently only is for CentOS, causing RHEL clients to get a bogus
osd rules file.

Adjust the conditional to apply to RHEL as well as CentOS. (The %{rhel}
macro is defined in both platforms' redhat-rpm-config package.)

Fixes http://tracker.ceph.com/issues/7245

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
(cherry picked from commit 64a0b4fa563795bc22753940aa3a4a2946113109)
ceph.spec.in