Bug 97076 - Spec file still requires gnome-libs even if gtk2 ask-pass is selected
Spec file still requires gnome-libs even if gtk2 ask-pass is selected
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: openssh (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-06-09 20:22 EDT by Chris Chabot
Modified: 2007-04-18 12:54 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-02-04 09:52:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Chabot 2003-06-09 20:22:41 EDT
Description of problem:
If you set %define gtk2 1 in the spec file for openssh, the requires statement 
still requires gnome-libs (which is a gtk1 ask-pass). Checked upto 3.5p1-7

Better might be a construction as:
%if !%no_gnome_ask_pass
%if gtk2
Requires: libgnome, gtk2, ...etc
%else
Requires: gnome-libs
%endif
%endif

Would that work? (Knowing rpm's buggy nested if statements) Else it might be 
an idea to make gnome2_ask_pass and gnome1_ask_pass settings? 

Ran into this while trying to banish gnome1 and kde from my system..
Comment 1 Tomas Mraz 2005-02-04 09:52:31 EST
Fixed in the current Fedora Core.

Note You need to log in before you can comment on or make changes to this bug.