Skip to content
Snippets Groups Projects
Commit b6e92e4e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

simplify build process

parent d438ce02
No related branches found
No related tags found
1 merge request!425rpm package
......@@ -8,15 +8,10 @@ find . -name "__pycache__" -exec rm -rf {} \;
DIR=$(pwd)/rpm
rm -rf $DIR
mkdir -p $DIR/BUILD
mkdir -p $DIR/SPECS
mkdir -p $DIR/SOURCES
mkdir -p $DIR/SPECS/
cp rpm-files/smasch.spec $DIR/SPECS/
sed -i "s/__CURRENT_VERSION__/$CURRENT_VERSION/g" $DIR/SPECS/smasch.spec
#tar -czf smasch-${CURRENT_VERSION}.tar.gz $BUILD_DIR
#mv smasch-${CURRENT_VERSION}.tar.gz rpm/SOURCES/
#
rpmbuild -v -ba --build-in-place --define "_topdir $DIR" $DIR/SPECS/smasch.spec
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment