Re: simple build system for personal repos?

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

 



On Mon, Feb 08, 2010 at 08:12:05AM +0100, Kevin Kofler wrote:
> Richard W.M. Jones wrote:
> > You might want to look at smock, which is the tool (wrapper around
> > 'mock') that we initially used to build the mingw tree.  One nice
> > feature is that it sorts out dependencies and can build for multiple
> > Fedora distros and architectures in one go.
> 
> But the way it "sorts out dependencies" is unlikely to work for anything 
> other than MinGW as it assumes that the package name which is BuildRequired 
> is the SRPM name[...]

This isn't quite right.  The code is only concerned with dependencies
between packages in the submitted set, and works by lopping off the
extension (eg. "foo-doc" -> "foo") until it finds the common BR:

http://git.annexia.org/?p=fedora-mingw.git;a=blob;f=smock/smock.pl;h=76a1a542f3e467bfab7004335fdd809396f1244d;hb=HEAD#l191

This of course is quite simple and won't catch package "foo" which
generated subpackage "bar", but since we have all the SRPMs [hence,
specs] available it should be possible to modify the code to handle
that case as well.  Or if you have a specific set of packages in mind,
just add a hack into the above function -- smock was never designed as
a generic tool for this, which is why we never tidied it up and gave
it a proper release.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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