12 lines
407 B
Bash
Executable File
12 lines
407 B
Bash
Executable File
#!/bin/bash -xe
|
|
#
|
|
# Create a RPM package
|
|
SCRIPT_PATH=$(dirname "${BASH_SOURCE[0]}")
|
|
SCRIPT_PATH=$(realpath "$SCRIPT_PATH")
|
|
|
|
mkdir -p ~/rpmbuild/SOURCES/
|
|
git archive --format=tar HEAD --output ~/rpmbuild/SOURCES/freerdp-nightly-3.0.tar.bz2 --prefix=freerdp-nightly-3.0/
|
|
$SCRIPT_PATH/prepare_rpm_freerdp-nightly.sh
|
|
cp source_version ~/rpmbuild/SOURCES/
|
|
rpmbuild -ba "$SCRIPT_PATH/../rpm/freerdp-nightly.spec"
|