Bug 1173563 - --no-clean cleans less then anticipated
Summary: --no-clean cleans less then anticipated
Keywords:
Status: CLOSED DUPLICATE of bug 1173126
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-12 12:23 UTC by Vít Ondruch
Modified: 2014-12-12 13:08 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-12 13:08:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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