Commit 557a9913 authored by Adam Mercer's avatar Adam Mercer

add packaging Makefile

for use with Koji to build source rpm
parent 929ef908
Pipeline #62521 passed with stages
in 5 minutes and 55 seconds
NAME = gwkoji
VERSION = 0.1.0
git archive --format=tar --prefix=${NAME}-${VERSION}/ HEAD | tar xf -
python3.6 ${NAME}-${VERSION}/ sdist
mv dist/${NAME}-${VERSION}.tar.gz .
rm -rf ${NAME}-${VERSION} dist
rpmbuild -D '_srcrpmdir ./' -D '_sourcedir ./' -bs gwkoji.spec
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment