[Spice-devel] [PATCH 1/3] Add copr Makefile
Frediano Ziglio
fziglio at redhat.com
Mon Aug 5 16:11:34 UTC 2019
Hi Snir,
there were some notes at
https://patchwork.freedesktop.org/patch/288568/?series=57199&rev=1
and
https://patchwork.freedesktop.org/patch/288569/?series=57199&rev=1
some not addressed.
Also patch #3 was merged, maybe would be worth to send an updated
version.
(series at https://patchwork.freedesktop.org/series/57199/)
We already have Copr set up for SPICE server. How would you like to
proceed? Move all to Gitlab? How is the integration with SPICE server?
You referred to a hook to setup on Gitlab, which systems are you
going to use? Fedora Copr I imagine.
Frediano
>
> ping
>
>
> On 2/25/19 4:56 PM, Snir Sheriber wrote:
> > ---
> > .copr/Makefile | 21 +++++++++++++++++++++
> > 1 file changed, 21 insertions(+)
> > create mode 100644 .copr/Makefile
> >
> > diff --git a/.copr/Makefile b/.copr/Makefile
> > new file mode 100644
> > index 0000000..53b1b1b
> > --- /dev/null
> > +++ b/.copr/Makefile
> > @@ -0,0 +1,21 @@
> > +PROTOCOL_GIT_REPO = https://gitlab.freedesktop.org/spice/spice-protocol
> > +BUILD = make automake autoconf autoconf-archive libtool xz gcc-c++ fedpkg
> > +
> > +srpm:
> > + dnf install -y $(BUILD)
> > +
> > + # get upstream spice protocol
> > + git clone $(PROTOCOL_GIT_REPO)
> > + cd spice-protocol ; ./autogen.sh ; make install
> > +
> > + # get dependencies
> > + dnf install -y `grep BuildRequires\: spice-streaming-agent.spec.in | awk
> > '{$$1=""; print $$0}' | sed "s/\bspice-protocol\b// ; s/>.*//" | tr -s
> > "\n" " "`
> > + # build this project
> > + PKG_CONFIG_PATH=/usr/local/share/pkgconfig ./autogen.sh
> > +
> > + # create source rpm
> > + sed -i -E "s/(^Release:[[:space:]]*)([^%]*)/\1`date
> > +'%Y%m%d%H%M.spice.nigthly'`/" spice-streaming-agent.spec
> > + make dist
> > + md5sum *tar* | head -n1 > "sources"
> > + fedpkg --release "epel7" --path . srpm
> > + cp *src.rpm $(outdir)
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list