]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: 95-ceph-osd-alt.rules is not needed for centos7 / rhel7 2706/head
authorLoic Dachary <loic-201408@dachary.org>
Sat, 11 Oct 2014 16:20:36 +0000 (18:20 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Sat, 11 Oct 2014 16:20:36 +0000 (18:20 +0200)
The || instead of && had it always installed. That was fixed in EPEL
already.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
ceph.spec.in

index 5239aca2ee1d54d1d1ed40f44b184a2d06b4541d..5478c2f688a334f0f25e3d6767464d3c116a20dd 100644 (file)
@@ -379,7 +379,7 @@ install -m 0644 -D udev/50-rbd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/50-rbd.rul
 install -m 0644 -D udev/60-ceph-partuuid-workaround.rules $RPM_BUILD_ROOT/lib/udev/rules.d/60-ceph-partuuid-workaround.rules
 %endif
 
-%if (0%{?rhel} || 0%{?rhel} < 7)
+%if (0%{?rhel} && 0%{?rhel} < 7)
 install -m 0644 -D udev/95-ceph-osd-alt.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules
 %else
 install -m 0644 -D udev/95-ceph-osd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules