[Spice-devel] [PATCH spice-protocol] build-sys: Provide spec file during build
Frediano Ziglio
fziglio at redhat.com
Thu Jan 31 13:37:14 UTC 2019
> On Thu, Jan 31, 2019 at 10:34:27AM +0000, Frediano Ziglio wrote:
> > Having the RPM spec file produced by the build is helpful in
> > different situation. Different tools like mock or code
> > scanners accept source RPMs as input.
> > Providing this file allows easily build of the source RPM (and
> > binaries) using a simple command like
> >
> > $ rpmbuild -ta spice-protocol-XXXX.tar.bz2
> >
> > The spec proposed is a port of current Red Hat spec combining with
> > MingW one which allows to build MingW packages easily with a
> >
> > $ rpmbuild --with mingw -ta spice-protocol-XXXX.tar.bz2
> >
> > Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
>
> Are you planning to push for this file to be used for RHEL/fedora
> builds? Or is this going to be a 3rd spec file to maintain?
>
> Christophe
>
It would be great to have a single one.
I don't know if this is technically possible and how to do it.
I think fedpkg requires to have the spec in the git repository,
I suppose we can say to copy and save from the project repository
one.
Frediano
More information about the Spice-devel
mailing list