mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-04 12:21:57 +03:00
setup.py: fix rpm build to return 1 on error
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
4
setup.py
4
setup.py
@ -245,8 +245,8 @@ class my_rpm(Command):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
self.run_command('sdist')
|
self.run_command('sdist')
|
||||||
os.system('rpmbuild -ta --clean dist/libvirt-python-%s.tar.gz' %
|
self.spawn(["/usr/bin/rpmbuild", "-ta", "--clean",
|
||||||
self.distribution.get_version())
|
"dist/libvirt-python-%s.tar.gz" % self.distribution.get_version()])
|
||||||
|
|
||||||
class my_test(Command):
|
class my_test(Command):
|
||||||
user_options = [
|
user_options = [
|
||||||
|
Reference in New Issue
Block a user