All of lore.kernel.org
 help / color / mirror / Atom feed
* [Drbd-dev] Building drbd RPM on Scientific Linux 6
@ 2011-07-06 21:24 Lindsay Todd
  0 siblings, 0 replies; only message in thread
From: Lindsay Todd @ 2011-07-06 21:24 UTC (permalink / raw)
  To: drbd-dev

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

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.

-- 
R. Lindsay Todd, PhD                 email: toddr@rpi.edu
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.


[-- Attachment #2: drbd-8.3.11-sl.diff --]
[-- Type: text/x-patch, Size: 530 bytes --]

--- drbd.spec.in.ORIG	2011-07-06 15:52:39.292317940 -0400
+++ drbd.spec.in	2011-07-06 15:55:35.161538906 -0400
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-07 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 21:24 [Drbd-dev] Building drbd RPM on Scientific Linux 6 Lindsay Todd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.