Skip to contentSkip to conversation

Building drbd RPM on Scientific Linux 6

Drbd-dev Lindsay Todd 1 participant 1 message Jul 7, 2011 DRBD driver

lore
Share & tools
lore
#0 lore raw

I needed to build DRBD 8.3.11 on a Scientific Linux 6 (Red Hat 6 clone) system with support for rgmanager. However, the resulting RPMs require rgmanager < 3. The attached patch to the spec file fixes that problem.

Signature · 8 lines
R. Lindsay Todd, PhD                 email: [email protected]
Senior Systems Programmer            phone: 518-276-2605
Rensselaer Polytechnic Institute     fax:   518-276-2809
Troy, NY 12180-3590                  WWW:   http://www.rpi.edu/~toddr

The views, opinions, and judgments expressed in this message are
solely those of the author. The message contents have not been
reviewed or approved by Rensselaer.
drbd.spec.in renamed from drbd.spec.in.ORIG +4 -0
@@ -208,7 +208,11 @@
 %package rgmanager
 Summary: Red Hat Cluster Suite agent for DRBD
 Group: System Environment/Base
+%if 0%{?centos} != 6 && 0%{?rhel} != 6
 Requires: %{name}-utils = %{version}-%{release}, rgmanager < 3
+%else
+Requires: %{name}-utils = %{version}-%{release}
+%endif
 # RHEL 6 removed some scripts from upstream version,
 # including drbd. Heuristic only...
 %if 0%{?centos} != 6 && 0%{?rhel} != 6