summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/redhat/openssh.spec3
-rw-r--r--packages/suse/openssh.spec2
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/redhat/openssh.spec b/packages/redhat/openssh.spec
index ece13c5b..d8c3cf3a 100644
--- a/packages/redhat/openssh.spec
+++ b/packages/redhat/openssh.spec
@@ -160,9 +160,8 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
+make install DESTDIR=$RPM_BUILD_ROOT/
-install -d $RPM_BUILD_ROOT/etc/ssh
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
diff --git a/packages/suse/openssh.spec b/packages/suse/openssh.spec
index a2a5cd2a..a4367176 100644
--- a/packages/suse/openssh.spec
+++ b/packages/suse/openssh.spec
@@ -150,7 +150,7 @@ make
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
+make install DESTDIR=$RPM_BUILD_ROOT/
install -d $RPM_BUILD_ROOT/etc/ssh/
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/sbin/init.d/