[Spice-devel] [PATCH spice-protocol] build-sys: Provide spec file during build
Christophe Fergeau
cfergeau at redhat.com
Thu Jan 31 15:59:30 UTC 2019
On Thu, Jan 31, 2019 at 08:37:14AM -0500, Frediano Ziglio wrote:
> > 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.
I'm not asking that fedpkg gets the .spec file from the tarball and use
that, I'm merely asking if you have plans to unify the file used in
fedora/rhel and in the tarball. It's fine with me if the same file is
committed to 3 different places (upstream git, fedora dist-git, rhel
dist-git). I'm less fine with these 3 spec files being maintained
separately with arbitrary differences.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190131/55d6fa19/attachment.sig>
More information about the Spice-devel
mailing list