From c92dff46d2f935b0c3eae6ada08d8a689d16c106 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 20 Sep 2004 22:10:11 +0000 Subject: [PATCH] don't buildprereq gnome-libs --- openssh.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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