diff --git a/openssh.spec b/openssh.spec index 7ad0d74..9d991e6 100644 --- a/openssh.spec +++ b/openssh.spec @@ -79,7 +79,7 @@ Summary: The OpenSSH implementation of SSH protocol versions 1 and 2. Name: openssh Version: 3.9p1 -%define rel 6 +%define rel 7 %if %{rescue} Release: %{rel}rescue %else @@ -111,9 +111,14 @@ PreReq: initscripts >= 5.00 PreReq: initscripts >= 5.20 %endif +%if ! %{no_gnome_askpass} %if %{gtk2} BuildPreReq: gtk2-devel, xauth +%else +BuildPreReq: gnome-libs-devel %endif +%endif + %if %{scard} BuildPreReq: sharutils %endif @@ -130,10 +135,6 @@ BuildPreReq: pam-devel BuildPreReq: XFree86-devel %endif -%if ! %{no_gnome_askpass} -BuildPreReq: gnome-libs-devel -%endif - %if %{kerberos5} BuildPreReq: krb5-devel %endif @@ -493,6 +494,9 @@ fi %endif %changelog +* Mon Sep 20 2004 Bill Nottingham 3.9p1-7 +- when using gtk2 for askpass, don't buildprereq gnome-libs-devel + * Tue Sep 14 2004 Nalin Dahyabhai 3.9p1-6 - build