[rancid] try getting the thing to detect sendmail to add path bits
David Brown
dmlb2000 at fedoraproject.org
Sun May 11 23:01:11 UTC 2014
commit 402f804b3d0361483d3c4117e11e0dd3c89b561a
Author: David Brown <david.brown at pnnl.gov>
Date: Sun May 11 15:48:18 2014 -0700
try getting the thing to detect sendmail to add path bits
rancid-2.3.2-conf.patch | 2 +-
rancid.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rancid-2.3.2-conf.patch b/rancid-2.3.2-conf.patch
index 607eb81..a631281 100644
--- a/rancid-2.3.2-conf.patch
+++ b/rancid-2.3.2-conf.patch
@@ -7,7 +7,7 @@
-BASEDIR=@localstatedir@; export BASEDIR
-PATH=@bindir@:@ENV_PATH@; export PATH
+BASEDIR=/var; export BASEDIR
-+PATH=@sbindir@:@bindir@:@ENV_PATH@; export PATH
++PATH=@bindir@:@ENV_PATH@; export PATH
# Location of the CVS/SVN repository. Be careful changing this.
# If RCSSYS is svn, this can be:
# - an (absolute) path (a subdirectory of BASEDIR by default).
diff --git a/rancid.spec b/rancid.spec
index a6c0fec..acd8652 100644
--- a/rancid.spec
+++ b/rancid.spec
@@ -22,6 +22,7 @@ BuildRequires: cvs
BuildRequires: subversion
BuildRequires: perl
BuildRequires: iputils
+BuildRequires: sendmail
Requires(pre): shadow-utils
Requires: findutils
@@ -45,7 +46,6 @@ including software and hardware (cards, serial numbers, etc) and uses CVS
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
--bindir=%{_libexecdir}/%{name} \
- --sbindir=%{_sbindir} \
--libdir=%{perl_vendorlib} \
--enable-conf-install
make %{?_smp_mflags}
More information about the scm-commits
mailing list