#637 add option to mockbuild use default resultdir of mock (v3)
Merged by onosek. Opened by sergiomb.
sergiomb/rpkg master  into  master

Download 637.patch

This is a refresh of PR https://pagure.io/rpkg/pull-request/609
after understand that mockbuild was already in fist commit that set resultdir https://pagure.io/rpkg/c/7dc8589c
This new approx change the option name to default-mock-resultdir.
and just change it in mockbuild function and make the logic simpler.

I forgot to mention from 4 places that is called self.cmd.mockbuild on pyrpkg/cli.py, only in one place is called with default_mock_resultdir=self.args.default_mock_resultdir

rebased onto da5d7c10197d700ae3132e6eadb46b17126d877b

rebased onto 6cab3155c6f5927b9531e70224dea35b0935d643

mockbuild with --default-mock-resultdir will write all results in /var/lib/mock/fedora-37-x86_64/result/ on Fedora 37 x86_64

please merge this doesn't change any behavior (from 4 places that is called self.cmd.mockbuild on pyrpkg/cli.py, only in one place is called with default_mock_resultdir=self.args.default_mock_resultdir )

rebased onto 71d001aed568259db0e5c4f42f818f6ae8919e6c

rebased onto 785f1b04893151fcf9cff41b803a2d7d77f05226

rebased onto c9d204d87ca38ba4a5a7ad3668fa7bf4e857d5f7

pretty please pagure-ci rebuild

Commit 446b80ad fixes this pull-request

Pull-Request has been merged by onosek

thank you

Metadata