From 82b54b4d43ced5d278fbb2b536f95d5b298546e1 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Wed, 27 Oct 2021 18:18:15 +0200 Subject: [PATCH] Fix copr integration It's called from the project root directory with make -f .copr/Makefile srpm outdir=... This means that we are already on the project root directory, otherwise this fails on copr with: ``` stdout: cd .. && make srpm make[1]: Entering directory '/mnt/workdir-8s69h1kn' make[1]: Leaving directory '/mnt/workdir-8s69h1kn' make[1]: *** No rule to make target 'srpm'. Stop. ``` Signed-off-by: Miguel Angel Ajo --- .copr/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.copr/Makefile b/.copr/Makefile index fa2e728ee9..f005fb1b07 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -13,5 +13,5 @@ outdir ?= /tmp srpm: - cd .. && make srpm - cp ../packaging/rpm/_rpmbuild/SRPMS/*.src.rpm $(outdir) \ No newline at end of file + make srpm # from the project top level makefile + cp packaging/rpm/_rpmbuild/SRPMS/*.src.rpm $(outdir) \ No newline at end of file