RedPanda-CPP/packages/fedora/01-in-docker.sh

13 lines
253 B
Bash
Raw Normal View History

2023-10-24 12:20:32 +08:00
#!/bin/bash
set -xeuo pipefail
dnf install -y dnf-plugins-core git rpm-build rpmdevtools
2023-10-24 12:20:32 +08:00
rpmdev-setuptree
cd $SOURCE_DIR
./packages/fedora/buildrpm.sh
mkdir -p $SOURCE_DIR/dist
cp ~/rpmbuild/RPMS/$(uname -m)/redpanda-cpp-git-*.rpm $SOURCE_DIR/dist/