diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-29 18:38:22 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-29 18:38:22 +0300 |
| commit | d57229d8365b78ee3ff441ad66f283c9d39b5591 (patch) | |
| tree | a7dac0c9753b1af971a88b295090e85bc4612ff7 /scripts | |
| parent | 8218ab33eaa3bc60cc2399bc4eeec1f7ed94ff9f (diff) | |
| download | fungus-launcher-d57229d8365b78ee3ff441ad66f283c9d39b5591.tar.gz fungus-launcher-d57229d8365b78ee3ff441ad66f283c9d39b5591.tar.xz | |
add test rpm script
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build_test_rpm.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/build_test_rpm.sh b/scripts/build_test_rpm.sh new file mode 100644 index 0000000..299eee9 --- /dev/null +++ b/scripts/build_test_rpm.sh @@ -0,0 +1,12 @@ +export VERSION=1.2.3 +export DIST=.fc43 # note dot before 43 + +sudo dnf install rpm-build rpmdevtools redhat-rpm-config git +sudo dnf builddep faugus-launcher.spec + +mkdir -p ~/rpmbuild/SOURCES + +git archive --format=tar.gz --prefix=faugus-launcher-${VERSION}/ -o ~/rpmbuild/SOURCES/faugus-launcher-${VERSION}.tar.gz HEAD + +rpmbuild -bb faugus-launcher.spec --define "dist $DIST" --define "pkg_version $VERSION" --define "ci_pipeline_iid 1" --define "ci_commit_short_sha abcdef" + |
