summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-10 11:12:45 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-10 11:12:45 +1100
commit937d96587df99c16c611d828cded292fa474a32b (patch)
tree4805c895fd9dc69c0e1f2885f2b770e17f095fb1
parenteb0865f330f59c889ec92696b97bd397090e720c (diff)
Don't strip binaries so debuginfo gets built.
Tell install not to strip binaries during package creation so that the debuginfo package can be built.
-rw-r--r--contrib/redhat/openssh.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 44715d2e4..ef7a93abf 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -214,6 +214,7 @@ CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
214 --with-md5-passwords \ 214 --with-md5-passwords \
215 --mandir=%{_mandir} \ 215 --mandir=%{_mandir} \
216 --with-mantype=man \ 216 --with-mantype=man \
217 --disable-strip \
217%if %{scard} 218%if %{scard}
218 --with-smartcard \ 219 --with-smartcard \
219%endif 220%endif
@@ -280,12 +281,12 @@ install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
280install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd 281install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
281 282
282%if ! %{no_x11_askpass} 283%if ! %{no_x11_askpass}
283install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/x11-ssh-askpass 284install x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/x11-ssh-askpass
284ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass 285ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass
285%endif 286%endif
286 287
287%if ! %{no_gnome_askpass} 288%if ! %{no_gnome_askpass}
288install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass 289install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
289%endif 290%endif
290 291
291%if ! %{scard} 292%if ! %{scard}
@@ -409,7 +410,7 @@ fi
409%doc x11-ssh-askpass-%{aversion}/README 410%doc x11-ssh-askpass-%{aversion}/README
410%doc x11-ssh-askpass-%{aversion}/ChangeLog 411%doc x11-ssh-askpass-%{aversion}/ChangeLog
411%doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad 412%doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
412%attr(0755,root,root) %{_libexecdir}/openssh/ssh-askpass 413%{_libexecdir}/openssh/ssh-askpass
413%attr(0755,root,root) %{_libexecdir}/openssh/x11-ssh-askpass 414%attr(0755,root,root) %{_libexecdir}/openssh/x11-ssh-askpass
414%endif 415%endif
415 416