On 05. 03. 25 22:41, Ankur Sinha wrote:
On Wed, Mar 05, 2025 13:16:04 -0800, Neal Gompa wrote:
On Wed, Mar 5, 2025 at 1:08 PM Michael Catanzaro <mcatanzaro@xxxxxxxxxx> wrote:
Hi, I am wondering if it is possible to use 'fedpkg mockbuild' to
easily build for a side tag.
I know that it's possible by using 'koji mock-config' and then 'fedpkg
mockbuild --mock-config' but this is not easy since it requires
creating a local mock configuration file. Would be nice if it were
possible to do something like 'fedpkg mockbuild --target' which would
function just like the --target argument in 'fedpkg build --target'.
$ fedpkg mockbuild -- \
--addrepo=https://kojipkgs.fedoraproject.org/repos/<sidetag>/latest/$basearch/
This is super useful! I've opened a PR for it to be added to package
maintainer docs here:
https://pagure.io/fedora-docs/package-maintainer-docs/pull-request/177
Thanks.
There's also my RFE to make this shorter:
https://github.com/rpm-software-management/mock/issues/1295
--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue