mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Adding auto COPR builds
Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
0926cb87da
commit
df59f09eed
17
.copr/Makefile
Normal file
17
.copr/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
srpm:
|
||||
# Setup development environment
|
||||
echo "Installing base development environment"
|
||||
dnf install -y dnf-plugins-core
|
||||
echo "Installing FreeIPA development dependencies"
|
||||
dnf builddep -y --skip-broken --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
|
||||
|
||||
# Run autoconf
|
||||
autoreconf -i
|
||||
./configure --enable-silent-rules
|
||||
|
||||
# Generate SRPMS
|
||||
make srpms
|
||||
|
||||
if [[ "${outdir}" != "" ]]; then \
|
||||
mv rpmbuild/SRPMS/* ${outdir}; \
|
||||
fi
|
Loading…
Reference in New Issue
Block a user