[rancid] Here's a patch for the updated 3.0 version
David Brown
dmlb2000 at fedoraproject.org
Sun May 11 21:45:12 UTC 2014
commit c6037a2abc2cdc46f0fa7b0f18955f96994a2ce1
Author: David Brown <david.brown at pnnl.gov>
Date: Sun May 11 14:31:24 2014 -0700
Here's a patch for the updated 3.0 version
rancid-2.3.2-conf.patch | 2 +-
rancid.spec | 4 ++++
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/rancid-2.3.2-conf.patch b/rancid-2.3.2-conf.patch
index 589b473..91a514c 100644
--- a/rancid-2.3.2-conf.patch
+++ b/rancid-2.3.2-conf.patch
@@ -5,7 +5,7 @@
# Be careful changing this, it affects CVSROOT below. It should be a FQPN, not
# relative.
-BASEDIR=@localstatedir@; export BASEDIR
-+BASEDIR=/var/rancid; export BASEDIR
++BASEDIR=/var; export BASEDIR
PATH=@bindir@:@ENV_PATH@; export PATH
# Location of the CVS/SVN repository. Be careful changing this.
# If RCSSYS is svn, this can be:
diff --git a/rancid.spec b/rancid.spec
index db5dabf..34a3916 100644
--- a/rancid.spec
+++ b/rancid.spec
@@ -9,6 +9,8 @@ URL: http://www.shrubbery.net/rancid/
Source0: ftp://ftp.shrubbery.net/pub/{name}/%{name}-%{version}.tar.gz
Source1: %{name}.cron
Source2: %{name}.logrotate
+Patch0: %{name}-2.3.2-conf.patch
+Patch1: %{name}-2.3.2-Makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -36,6 +38,8 @@ including software and hardware (cards, serial numbers, etc) and uses CVS
%prep
%setup -q -n %{name}-%{version}
+%patch0 -p0
+%patch1 -p0
%build
%configure \
More information about the scm-commits
mailing list