diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-25 09:36:29 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-25 09:36:29 +1100 |
commit | 73bb058d0d9230c5594b2aee1f33b3dfdb12cb8b (patch) | |
tree | 648fd6b1356055d7df87d59cd4ef022cefbe63db /contrib/redhat/openssh.spec | |
parent | 8697e0866053dcdec35d556f8ac6adf4d79160af (diff) |
- (djm) Use %{_libexecdir} rather than hardcoded path in RPM specfile
Patch from Adrian Ho <lexfiend@usa.net>
Diffstat (limited to 'contrib/redhat/openssh.spec')
-rw-r--r-- | contrib/redhat/openssh.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index f27cc5504..f23468de2 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec | |||
@@ -203,12 +203,12 @@ install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd | |||
203 | install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd | 203 | install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd |
204 | 204 | ||
205 | %if ! %{no_x11_askpass} | 205 | %if ! %{no_x11_askpass} |
206 | install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/x11-ssh-askpass | 206 | install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/x11-ssh-askpass |
207 | ln -s /usr/libexec/openssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/ssh-askpass | 207 | ln -s /usr/libexec/openssh/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass |
208 | %endif | 208 | %endif |
209 | 209 | ||
210 | %if ! %{no_gnome_askpass} | 210 | %if ! %{no_gnome_askpass} |
211 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/gnome-ssh-askpass | 211 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass |
212 | %endif | 212 | %endif |
213 | 213 | ||
214 | perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/* | 214 | perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/* |