> On 2/26/19 7:40 PM, Frediano Ziglio 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 > > > > I would use && to avoid ignoring error and a /usr prefix: > > > > cd spice-protocol && ./autogen.sh --prefix=/usr && make install > > You need root permissions to be able to install under /usr > Even to install in /usr/local and to use dnf install. > Does copr builder run as root ? > Apparently that script is run as root. > Uri > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel