1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00

copr: more grubbing around

This commit is contained in:
Wez Furlong 2023-10-02 16:35:42 -07:00
parent 3265123169
commit 28cc6c8ac1
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 22 additions and 8 deletions

View File

@ -1,9 +1,2 @@
srpm: srpm:
dnf install -y git COPR_SRPM=$(outdir) ./ci/copr-build.sh
git config --global --add safe.directory $$PWD
git config --global --add safe.directory $$PWD/deps/freetype/freetype2
git config --global --add safe.directory $$PWD/deps/freetype/libpng
git config --global --add safe.directory $$PWD/deps/freetype/zlib
git config --global --add safe.directory $$PWD/deps/harfbuzz/harfbuzz
COPR_SRPM=$(outdir) ./ci/source-archive.sh
COPR_SRPM=$(outdir) ./ci/deploy.sh

21
ci/copr-build.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
set -x
set -e
env
command -v git || dnf install -y git
if test -d /builddir/build ; then
COPR_BUILD_DIR=/builddir/build
fi
git config --global --add safe.directory $$PWD
git config --global --add safe.directory $$PWD/deps/freetype/freetype2
git config --global --add safe.directory $$PWD/deps/freetype/libpng
git config --global --add safe.directory $$PWD/deps/freetype/zlib
git config --global --add safe.directory $$PWD/deps/harfbuzz/harfbuzz
./ci/source-archive.sh
./ci/deploy.sh