Bug 1298712

Summary: Using reposync on a source repo puts the rpm's in the target directory and not a "Packages" subdirectory
Product: Red Hat Enterprise Linux 6 Reporter: jcastran
Component: yum-utilsAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.7CC: cww, jcastran, mkolbas, RH.Bugzilla, tee
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 16:34:43 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1269194    

Description jcastran 2016-01-14 19:13:10 UTC
Description of problem:
RepoSync Does Not Download Source RPMs To Packages Dir

rhel-6-server-cf-tools-1-rpms:
  Packages
  repodata

rhel-6-server-cf-tools-1-source-rpms:
  aeolus-audrey-agent-0.4.10-1.el6cf.src.rpm
  facter-1.5.9-1.el6.src.rpm
  gofer-0.66.1-2.el6cf.src.rpm
   . . .
  repodata

Version-Release number of selected component (if applicable):
rhel 6.7
yum-utils-1.1.30-30.el6.noarch

How reproducible:
Everytime

Steps to Reproduce:
1.# reposync --gpgcheck -l --repoid=rhel-6-server-source-rpms --download_path=/target

Actual results:
Target directory contains the following
  facter-1.5.9-1.el6.src.rpm
  gofer-0.66.1-2.el6cf.src.rpm
   . . .
  repodata

Expected results:
Target directory contains the following
  Packages
  repodata

Additional info: