[sshpass/el5] Fixed to build on el5.

Martin Cermak mcermak at fedoraproject.org
Mon Sep 12 11:13:27 UTC 2011


commit 8f778f3d6c5f4de3585a871c2bd608abef7d3103
Author: Martin Cermak <mcermak at redhat.com>
Date:   Mon Sep 12 11:08:09 2011 +0200

    Fixed to build on el5.

 sshpass.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/sshpass.spec b/sshpass.spec
index c1fdf18..9b25efb 100644
--- a/sshpass.spec
+++ b/sshpass.spec
@@ -16,15 +16,15 @@ more secure public key authentication of SSH instead.
 %setup -q
 
 %build
-%configure
+%configure --prefix=/usr
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install
+make install
 
 %files
-%{_bindir}/sshpass
-%{_datadir}/man/man1/sshpass.1.gz
+%attr(0755,root,root) %{_bindir}/sshpass
+%attr(0644,root,root) %{_mandir}/man1/sshpass.1
 %doc AUTHORS COPYING ChangeLog NEWS
 
 %changelog


More information about the scm-commits mailing list