Skip to content

Commit

Permalink
rpm: 95-ceph-osd-alt.rules is not needed for centos7 / rhel7
Browse files Browse the repository at this point in the history
The || instead of && had it always installed. That was fixed in EPEL
already.

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

Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 5ff4a85)
  • Loading branch information
Loic Dachary committed Oct 13, 2014
1 parent fa599aa commit afe6bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,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
Expand Down

0 comments on commit afe6bd8

Please sign in to comment.