On Sat, 02 Feb 2008 10:38:28 -0800, Michael A. Peters wrote: > neither package foo nor bar are in an existing repo that mock can see. > package bar BuildRequires package foo-devel > > mock builds foo and then I put it the results local repo and run createrepo > then attempt to mock build bar and build fails because it can not find > package foo-devel. > > if I manually delete the mock cache for the local repo, then mock finds > foo-devel and builds bar. > > I did not have this problem with the old version of mock from CentOS > > Is there a way to configure mock to not cache the local repo?
You could add a metadata_expire=1 value to your mock target cfg files. It defaults to 1800 seconds. Btw, the EPEL buildsys suffers from that, too, because the needsign metadata are cached and not refreshed always. _______________________________________________ epel-devel-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/epel-devel-list
