mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-01 00:21:59 +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')
|
||||
os.system('rpmbuild -ta --clean dist/libvirt-python-%s.tar.gz' %
|
||||
self.distribution.get_version())
|
||||
self.spawn(["/usr/bin/rpmbuild", "-ta", "--clean",
|
||||
"dist/libvirt-python-%s.tar.gz" % self.distribution.get_version()])
|
||||
|
||||
class my_test(Command):
|
||||
user_options = [
|
||||
|
Reference in New Issue
Block a user