Re: The Fedora build system and the use of %{_unitdir} in specfiles

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

 



On Wed, Nov 30, 2011 at 03:20:41PM +0000, David Howells wrote:
> Michael Cronenworth <mike@xxxxxxxxxx> wrote:
> 
> > > rpmbuild.
> > 
> > There's your answer. The rpmbuild command would inherit all the packages 
> > already installed on your system. You will already have systemd-units 
> > installed because it is a dependency of just about every service.
> > 
> > If you used mock or scratch building on koji (which kicks off mock) you 
> > would catch any missing BuildRequires.
> 
> Ah.  That explains it.  Can rpmlint be made to check for this?

Missing build dependencies are hard to find.  It's usually best to do
a scratch build.  I doubt rpmlint could reliably detect them.

I wrote a script called auto-buildrequires (it's in Fedora) which can
in some circumstances determine what BRs are needed for a package:

http://people.redhat.com/~rjones/auto-buildrequires/

It tends to overestimate the actual BRs though, and it doesn't take
into account of the "core" packages which are always installed.

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