mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Adding auto COPR builds
This commit adds .copr/Makefile that calls the executable script (build-srpm.sh) to be used for COPR SRPM generation.
This commit is contained in:
9
.copr/Makefile
Normal file
9
.copr/Makefile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
srpm:
|
||||||
|
# Setup development environment
|
||||||
|
echo "Installing base development environment"
|
||||||
|
dnf install -y dnf-plugins-core git-all
|
||||||
|
echo "Call SRPM build Script"
|
||||||
|
./utils/build-srpm.sh
|
||||||
|
if [[ "${outdir}" != "" ]]; then \
|
||||||
|
mv /builddir/build/SRPMS/* ${outdir}; \
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user