]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: use _udevrulesdir to eliminate conditionals 5225/head
authorNathan Cutler <ncutler@suse.com>
Thu, 25 Jun 2015 20:37:52 +0000 (22:37 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 14 Jul 2015 08:16:48 +0000 (10:16 +0200)
commit68508e28adffae64a52ea4c0046fbe8537e0d093
treea780073906eb4e88e75ef40a191bb94b57629c4f
parent741f0c235228b371486574ba0c3fbf55729e03bd
ceph.spec.in: use _udevrulesdir to eliminate conditionals

The conditionals governing where 50-rbd.rules is installed were not doing the
right thing on SUSE distros.

Start using the %_udevrulesdir RPM macro, while taking care that it is defined
and set to the right value. Use it to eliminate some conditionals around other
udev rules files as well.

http://tracker.ceph.com/issues/12166 Fixes: #12166

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 8aa758ee7a14e93ded1d55b4aca7a54aa47d7174)

Conflicts:
ceph.spec.in
            master spec file has diverged significantly from firefly
ceph.spec.in