Bug 1378376

Summary: unneeded dependencies for rhosp-director-images.noarch
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: rhosp-director-imagesAssignee: Mike Burns <mburns>
Status: CLOSED WONTFIX QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: mburns
Target Milestone: ---   
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-22 11:00:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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