Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Prepare for auto package building
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
srpm: | ||
dnf -y install git rpm-build | ||
git checkout -b autobuild | ||
git clone https://github.com/jelu/dist-tools.git ../dist-tools | ||
nosign=yes ../dist-tools/create-source-packages rpm | ||
mkdir -p ../rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} | ||
cp ../*.orig.tar.gz ../rpmbuild/SOURCES/ | ||
rpmbuild -bs --define "%_topdir ../rpmbuild" --undefine=dist "$(spec)" | ||
cp ../rpmbuild/SRPMS/*.src.rpm "$(outdir)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters