From aeaf2bee192f612bfea644bd1fda2596a7496a04 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 30 Sep 2002 11:39:22 +1000 Subject: [PATCH] Avoid unpackages files warning on /usr/share/openssh/Ssh.bin --- contrib/redhat/openssh.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index bf9c97035..679a7e454 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec @@ -270,6 +270,10 @@ ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass %endif +%if ! %{scard} + rm -f $RPM_BUILD_ROOT/usr/share/openssh/Ssh.bin +%endif + install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/ install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/ install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/