Re: f41 dnf builddeps fails to parse systemd.spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mock is nearly as fast as rpmbuild if you use use --no-clean

Do your edits, then build a srpm

rpm -bs whatever.spec
mock -r fedora-xx /path/to/whatever.srpm

the first build will be slow.
Do more edits

rpm -bs whatever.spec
mock -r fedora-xx --no-clean /path/to/whatever.srpm

the second build is nearly matches rpmbuild speed.



Barry wrote:
> > On 8 Oct 2024, at 21:08, Miroslav Suchý msuchy@xxxxxxxxxx wrote:
> > Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a):
> > Now I have systemd .src.rpm installed next I needed the build deps
> > so that I can do a rpmbuild.
> > Are you sure you want to install it on your workstation. The good habit is to NOT install builddeps and NOT running rpmbuild directly, but running
> > mock -r fedora-41-x86_64  systemd.src.rpm
> > Mock will create minimal buildroot, install all buildeps and run the rpmbuild.
> > I know how mock works, and love its power.
> but what I am working on is investigating a systemd bug.
> To do that I need to build and test small code changes.
> Doing that with mock is slow and painful.
> Outside of mock its fast to edit the code in BUILD and make it incrementally.
> Barry
> > --
> > Miroslav Suchy, RHCA
> > Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
> >
-- 
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux