Bug 1378376 - unneeded dependencies for rhosp-director-images.noarch
Summary: unneeded dependencies for rhosp-director-images.noarch
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director-images
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 10.0 (Newton)
Assignee: Mike Burns
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-22 10:03 UTC by Udi Kalifon
Modified: 2016-09-22 11:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-22 11:00:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Udi Kalifon 2016-09-22 10:03:52 UTC
Description of problem:
When installing rhosp-director-images.noarch, it pulls lots of additional dependencies like perl and gdb and more... For a package that consists of only tar and qcow2 files, there is no need for any dependencies at all:

Dependencies Resolved

========================================
 Package                       Arch    
========================================
Installing:
 rhosp-director-images         noarch  
Installing for dependencies:
 dwz                           x86_64  
 elfutils                      x86_64  
 gdb                           x86_64  
 perl-Thread-Queue             noarch  
 perl-srpm-macros              noarch  
 redhat-rpm-config             noarch  
 rhosp-director-images-ipa     noarch  
 rpm-build                     x86_64  
 rpmdevtools                   noarch  
 unzip                         x86_64  
 zip                           x86_64  

Transaction Summary
========================================
Install  1 Package (+11 Dependent packages)


Version-Release number of selected component (if applicable):
10.0-20160920.1.el7ost 


How reproducible:
100%

Comment 2 Mike Burns 2016-09-22 11:00:15 UTC
rhosp-director-images has exactly 2 explicit dependencies:

rhosp-director-images-ipa  (the IPA image, not being removed)
rpmdevtools -- this one is slightly more complicated.

The rpm %post scripts have some logic allowing the package to be installed side-by-side with additional images rpms, so you could maintain multiple versions simultaneously.  It also sets up various symlinks under /usr/share/rhosp-director-images that point to latest and have some generic naming.  As long as we continue to maintain that logic, we need the rpmdevtools requirement.

All the other packages are rpmdevtools requirements


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