Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Lindsay Todd <toddr@rpi.edu>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] Building drbd RPM on Scientific Linux 6
Date: Wed, 06 Jul 2011 17:24:07 -0400	[thread overview]
Message-ID: <4E14D277.4050106@rpi.edu> (raw)

[-- 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

                 reply	other threads:[~2011-07-07 18:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E14D277.4050106@rpi.edu \
    --to=toddr@rpi.edu \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox