On Mon, Nov 02, 2015 at 12:34:03PM -0800, Adam Williamson wrote:
> it would be to do a scratch build of libtirpc , download the results,
> make a side repository, and do mock builds of the dependent packages.
> It's easy to create a mock target which uses a local side repository:
> you just copy the config file for an existing target and add an
> additional repository definition to it right at the bottom, above the
> closing """, like this:
> 
> [side]
> baseurl=file:///home/adamw/local/repo2/x86_64
> enabled=1
> """

Actually it's even simpler to use --postinstall:

mock --postinstall libtrirpc.src.rpm
mock --no-clean dependent1.src.rpm 
mock --no-clean dependent2.src.rpm 

Works nicely for a quick rebuild where you're just testing that things
compile.

Zbyszek
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to