diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-04-04 18:23:40 +0200 |
---|---|---|
committer | Gary Lowell <gary.lowell@inktank.com> | 2013-05-02 18:05:48 -0700 |
commit | b38cbabb2a38e4476de1135c33c25c673d62cd67 (patch) | |
tree | 52754707747ae5f27058b57fc62b5b14ce0419a5 | |
parent | d0678a062a1baf738ce96114114d99495be19478 (diff) | |
download | ceph-b38cbabb2a38e4476de1135c33c25c673d62cd67.tar.gz |
ceph.spec.in: fix udev rules.d files handling
Move 50-rbd.rules into the ceph base package since the related
ceph-rbdnamer binary is part of this package. Use correct install
pattern.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | ceph.spec.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index 0ec887eab92..5808b109ffc 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -291,8 +291,8 @@ mv $RPM_BUILD_ROOT/usr/lib64/libcephfs.jar $RPM_BUILD_ROOT/usr/share/java/. mv $RPM_BUILD_ROOT/usr/lib64/libcephfs-test.jar $RPM_BUILD_ROOT/usr/share/java/. # udev rules -install -D -m 644 udev/50-rbd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/50-rbd.rules -install -D -m 644 udev/95-ceph-osd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules +install -m 0644 -D udev/50-rbd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/50-rbd.rules +install -m 0644 -D udev/95-ceph-osd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules %clean rm -rf $RPM_BUILD_ROOT @@ -353,6 +353,9 @@ fi /sbin/mkcephfs /sbin/mount.ceph %{_libdir}/ceph +/lib/udev/rules.d/50-rbd.rules +/lib/udev/rules.d/95-ceph-osd.rules +%dir %{_sysconfdir}/ceph/ %config %{_sysconfdir}/bash_completion.d/ceph %config %{_sysconfdir}/bash_completion.d/rados %config %{_sysconfdir}/bash_completion.d/radosgw-admin |