On Sat, 19 Dec 2020 at 03:02, Luya Tshimbalanga <l...@fedoraproject.org> wrote: > > > On 2020-12-18 11:13 a.m., Robbie Harwood wrote: > > clime <cl...@fedoraproject.org> writes: > > > >> On Fri, 18 Dec 2020 at 18:20, Robbie Harwood <rharw...@redhat.com> wrote: > >>> Robert-André Mauchin <zebo...@gmail.com> writes: > >>> > >>>> On 12/18/20 3:52 PM, James Szinger wrote: > >>>>> No. One can also download the sources from upstream using spectool or > >>>>> similar, even wget or curl. My local work flow is typically get or > >>>>> create spec file and patches, spectool -g, rpmbuild -bs, mock. > >>>>> > >>>> Unrelated to the topic at hand, but why do people still use rpmbuild -bs > >>>> instead of using a fedpkg mockbuild? You get a clean environment to > >>>> build and you don't have to install tons of devel packages on your > >>>> system. > >>> For me it's speed. Yes, mock gives a clean environment, but I'd rather > >>> not use it if I don't have to: the tradeoff is I don't have to *wait* > >>> for the mock to go get the tons of devel packages (and generally for > >>> repo/dnf slowness) - they're already installed on my system. > >> But you have fedpkg installed, right? I think fedpkg srpm should do a > >> good job as well. > > Probably, but that wasn't the question - the question was about > > mockbuild. > > > > Thanks, > > --Robbie > Mockbuild stores packages in /var/lib/mock and will skip those already > downloaded. You can configure dnf (slowness is a illusion because the > package manager does many task as verify the security and possible > update packages) to only use cache when needed at the cost of getting > outdated packages. Make sure to select the fastest mirror for effectiveness
Well, I also feel dnf is very slow, especially on my current connection now, it takes about 10 minutes to spawn a new container and install a package. It should be much faster once it doesn't download filelists.xml unless needed. > > -- > > Luya Tshimbalanga > Fedora Design Team > Fedora Design Suite maintainer > _______________________________________________ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > 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@lists.fedoraproject.org _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org