Created attachment 926614 [details]
Add --enablerepo and --disablerepo to mock
Mock doesn't expose any way to enable or disable repos on a per-invocation basis.
This makes it hard to do a test build without a repo enabled, then do some install tests with the repo enabled.
I propose to add --enablerepo and --disablerepo to mock, which pass through directly to yum, per the attached patch against mock 1.1.41 .
FYI, this was already implemented by Michael Simacek in his version of mock prepared as part of GSoC. See:
Yes. This is sitting already in my inbox for two weeks and was not applied only because of Flock and my normal work I had to do. I asume I will apply it next week.
This is present in current mock-1.2.0