[packages/rancid] omit BR deps whose only purpose is to find path to binary
glen
glen at pld-linux.org
Fri Dec 18 21:01:34 CET 2015
commit f7c497ab4ecb79b2b7037a33ba162877d5074814
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Dec 18 22:01:13 2015 +0200
omit BR deps whose only purpose is to find path to binary
rancid.spec | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/rancid.spec b/rancid.spec
index 6b17724..e58c71e 100644
--- a/rancid.spec
+++ b/rancid.spec
@@ -26,19 +26,11 @@ Patch25: ftp://ftp.shrubbery.net/pub/rancid/%{name}-3.2.p6.gz
Patch26: ftp://ftp.shrubbery.net/pub/rancid/%{name}-3.2.p7.gz
# Patch26-md5: 5e237785b9f86deb16eb68234a85e60a
URL: http://www.shrubbery.net/rancid/
-BuildRequires: autoconf
+BuildRequires: coreutils
+BuildRequires: iputils-ping
BuildRequires: patchutils
-BuildRequires: automake
-BuildRequires: cvs
-BuildRequires: expect >= 5.40
-BuildRequires: iputils
-BuildRequires: openssh-clients
-BuildRequires: perl
+BuildRequires: perl-base
BuildRequires: rpm-perlprov >= 4.1-13
-#BuildRequires: rsh
-#BuildRequires: sendmail
-BuildRequires: subversion
-BuildRequires: telnet
Requires: expect >= 5.40
Requires: findutils
Requires: iputils
@@ -63,6 +55,18 @@ for p in %{P:20} %{P:21} %{P:22} %{P:23} %{P:24} %{P:25} %{P:26}; do
done
%build
+AUTOMAKE=%{_bindir}/automake \
+CVS=%{_bindir}/cvs \
+EXPECT_PATH=%{_bindir}/expect \
+FIND=%{_bindir}/find \
+GREP=%{_bindir}/grep \
+PERLV_PATH=%{__perl} \
+RSH=%{_bindir}/rsh \
+SENDMAIL=/usr/lib/sendmail \
+SSH=%{_bindir}/ssh \
+SVN=%{_bindir}/svn \
+TAR=%{_bindir}/gtar \
+TELNET=%{_bindir}/telnet \
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
--bindir=%{_libexecdir}/%{name} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rancid.git/commitdiff/f7c497ab4ecb79b2b7037a33ba162877d5074814
More information about the pld-cvs-commit
mailing list