[Fedora-packaging] Wiki pages: Missing tests in %check and missing upstream test suites

Richard W.M. Jones rjones at redhat.com
Thu Feb 27 16:28:14 UTC 2014


On Thu, Feb 27, 2014 at 05:49:05PM +0200, Alexander Todorov wrote:
> На 27.02.2014 16:18, Richard W.M. Jones написа:
> 
> >Attached is a proposed patch to the spec file.  I ran this under
> >auto-buildrequires to see if it would need any extra BRs, but auto-br
> >didn't find any.
> >
> 
> Richard,
> can you point me to what auto-buildrequires is, where it lives and
> how do I use it? I don't seem to have it on my system or I'm blind
> and don't know where to look for it.

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

It's also packaged in Fedora (auto-buildrequires).

Run it like this:

  fedpkg srpm    # to build an srpm
  auto-br-rpmbuild --rebuild --define "_sourcedir $(pwd)" *.src.rpm

and it will build the package and suggest a list of BuildRequires
at the end.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


More information about the packaging mailing list