Bug 196537 - rpm files not copied to resultdir
Summary: rpm files not copied to resultdir
Alias: None
Product: Fedora
Classification: Fedora
Component: mock   
(Show other bugs)
Version: 5
Hardware: All Linux
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2006-06-24 05:01 UTC by Jim Richardson
Modified: 2013-01-10 01:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-06-24 21:44:51 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
the attached patch fixes all version 0.4.8 and later (482 bytes, patch)
2006-06-24 05:01 UTC, Jim Richardson
no flags Details | Diff

Description Jim Richardson 2006-06-24 05:01:51 UTC
Description of problem: when building a package with mock and specifying the
output directory via --resultdir the src.rpm is copied to the result directory
but not the rpm files.

Version-Release number of selected component (if applicable):
0.4.8 and later

How reproducible: always

Steps to Reproduce:
1. build a package with mock --resultdir defaultresult/packagename
2. logs and src.rpm are in the resultdir but not rpm files
Actual results: 

rpm files aren't coped because of a bad glob value in the mock script.

Expected results:
expected the rpm files to be copied to the result directory too

Additional info:

Comment 1 Jim Richardson 2006-06-24 05:01:51 UTC
Created attachment 131478 [details]
the attached patch fixes all version 0.4.8 and later

Comment 2 Jesse Keating 2006-06-24 14:15:41 UTC
Can you retry this with 0.6-4?  Upstream mock released 0.6 a week or 2 ago, and
I finally got a package that works right built yesterday.

Comment 3 Jim Richardson 2006-06-24 16:35:25 UTC
The latest upstream version I can find is mock-0.6.3, and yes the but still
exists there. As a matter of fact upgrading to these latest version broke my
mock and I had research all over again to find my previous patch that I forgot
to report at the time.

If you peek at the patch you'll see the one-liner is really a "no-brainer", a I
suppose the fact that I am not using mock in "extras" and wrote a collection
script to deal with results is the reason this bug hasn't been reported by others.

Comment 4 Jim Richardson 2006-06-24 18:21:22 UTC
I guess I need to revoke my previous comment. After cleaning a build root, the
newly initialized buildroot did solve the problem albeit in a manner which
causes my fix to fail.

Therefore, at this time I do beleive this issue can be closed with a status of

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