mirror of
https://opendev.org/x/pyghmi
synced 2025-01-13 03:08:00 +00:00
d1f48b02c0
Change-Id: Ic45943c4b882bb13390722cca58b8b1785386e86
8 lines
238 B
Plaintext
Executable File
8 lines
238 B
Plaintext
Executable File
cd `dirname $0`
|
|
VERSION=`python setup.py --version`
|
|
python setup.py sdist
|
|
cp dist/pyghmi-$VERSION.tar.gz ~/rpmbuild/SOURCES
|
|
rpmbuild -bs python-pyghmi.spec
|
|
rm $1/python-pyghmi-*rpm
|
|
cp ~/rpmbuild/SRPMS/python-pyghmi-$VERSION-1.src.rpm $1/
|