Bug 1173563

Summary: --no-clean cleans less then anticipated
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jdisnard, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-12 13:08:47 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:

Description Vít Ondruch 2014-12-12 12:23:58 UTC
Description of problem:
--no-clean used to delete whole /builddir/build directory (and probably even the entire /builddir), while it does not do that anymore, which cause problems.


Version-Release number of selected component (if applicable):
$ rpm -q mock
mock-1.2.3-1.fc21.noarch


How reproducible:


Steps to Reproduce:
1. mock foo-1.0-1.el7.src.rpm
2. mock bar-1.0-1.el7.src.rpm --no-clean
3.

Actual results:
Zapsáno: /builddir/build/SRPMS/rh-ruby22-ruby22-2.0-1.el7.src.rpm
ERROR: Exception(ruby22-ruby22-2.0-1.el7.src.rpm) Config(ruby22-rhel-7) 0 minutes 0 seconds
INFO: Results and/or logs in: /var/lib/mock/ruby22-rhel-7/result
ERROR: Expected to find single rebuilt srpm, found 2.


Expected results:
The whole /builddir/build directory is removed.


Additional info:

Comment 1 Miroslav Suchý 2014-12-12 13:08:47 UTC

*** This bug has been marked as a duplicate of bug 1173126 ***