]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rpm: proper packaging of udev directories 10608/head
authorNathan Cutler <ncutler@suse.com>
Sun, 7 Aug 2016 21:08:48 +0000 (23:08 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 9 Aug 2016 21:00:28 +0000 (23:00 +0200)
commit1a164bc94d661b9d83b4a80e957712ed6f5cd122
treef30577b3908173d91101121b7397f6759848bc1e
parent253f28556c8dead17806deeb49917246bdbed8ea
rpm: proper packaging of udev directories

The issue here is that ceph.spec.in does not package the directories
/usr/lib/udev and /usr/lib/udev/rules.d. The problem was not showing because
hdparm, which is brought in as a build dependency, packages these directories.
However, in SUSE a recent update to hdparm changes that and the problem
manifests.

This PR addresses the issue by adding udev as a build dependency, which should
cover /usr/lib/udev, and by adding explicit "%dir %{_udevrulesdir}" to the
packages that put files in this directory.

Fixes: http://tracker.ceph.com/issues/16949
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in