diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2014-10-07 11:54:15 +0200 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2014-10-07 13:08:55 +0200 |
commit | 02cc5d62bd844bc7abbc15be23b26f6ca11ea45e (patch) | |
tree | 4d560078fbe352c6cc8e62f38938ebcc86612ed9 | |
parent | 5346d9d9a30b8ce53a0dccfa40492cb03ed53119 (diff) | |
download | libvirt-python-02cc5d62bd844bc7abbc15be23b26f6ca11ea45e.tar.gz |
setup.py: fix rpm build to return 1 on error
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
-rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = [ |