If multiple koji tags are configured, the srpm method was being called
several times, which would attempt to set the 'test' version in a copy
of the spec file on disk. That file was being re-used on each run of
srpm, so the test version kept growing and growing.
this should get plain list. One tag per each line. Eg.:
dist-5E-sw-1.3-candidate
dist-f13-sw-1.3-candidate
if run --list-tags --debug, it should list all tags with explanation
why it is included or not listed. E.g:
dist-5E-sw-1.3-candidate
dist-f13-sw-1.3-candidate whitelisted
dist-f14-sw-1.3-candidate blacklisted
addressing:
File "/usr/lib/python2.6/site-packages/tito/distributionbuilder.py", line 26, in patch_upstream
% self.rpmbuild_gitcopy, self.project_name, self.upstream_version, self.build_version, self.git_commit_id)
TypeError: not enough arguments for format string
addressing:
Auto-installing packages:
sudo rpm -Uvh --force /tmp/spacewalk-build/x86_64/subscription-manager-0.93.2-1.el6.x86_64.rpm /tmp/spacewalk-build/noarch/python-rhsm-0.93.2-1.el6.noarch.rpm /tmp/spacewalk-build/x86_64/subscription-manager-gnome-0.93.2-1.el6.x86_64.rpm /tmp/spacewalk-build/x86_64/subscription-manager-debuginfo-0.93.2-1.el6.x86_64.rpm
[sudo] password for msuchy:
Traceback (most recent call last):
File "/usr/bin/tito", line 22, in <module>
CLI().main(sys.argv[1:])
File "/usr/lib/python2.6/site-packages/tito/cli.py", line 98, in main
return module.main(argv)
File "/usr/lib/python2.6/site-packages/tito/cli.py", line 386, in main
return builder.run(self.options)
File "/usr/lib/python2.6/site-packages/tito/builder.py", line 168, in run
self._rpm()
File "/usr/lib/python2.6/site-packages/tito/builder.py", line 261, in _rpm
run_command(cmd)
File "/usr/lib/python2.6/site-packages/tito/common.py", line 106, in run_command
(status, output) = commands.getstatusoutput(command)
File "/usr/lib64/python2.6/commands.py", line 56, in getstatusoutput
text = pipe.read()
KeyboardInterrupt