Commit fc7d48c8 authored by bescoto's avatar bescoto

Sign rpms again, remove rpms from rpm dir when done


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@269 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 989c9063
...@@ -22,7 +22,7 @@ tarfile = "-".join(base.split("-")[:-1]) + ".tar.gz" ...@@ -22,7 +22,7 @@ tarfile = "-".join(base.split("-")[:-1]) + ".tar.gz"
# nonstandard location allows for building by non-root user. # nonstandard location allows for building by non-root user.
assert not os.system("cp %s %s/SOURCES" % (tarfile, rpmroot)) assert not os.system("cp %s %s/SOURCES" % (tarfile, rpmroot))
#assert not os.system("rpm -ba --sign -vv --target i386 " + specfile) #assert not os.system("rpm -ba --sign -vv --target i386 " + specfile)
assert not os.system("rpmbuild -ba -v " + specfile) assert not os.system("rpmbuild -ba -v --sign " + specfile)
assert not os.system("cp %s/RPMS/i386/%s ." % (rpmroot, i386rpm)) assert not os.system("mv %s/RPMS/i386/%s ." % (rpmroot, i386rpm))
assert not os.system("cp %s/SRPMS/%s ." % (rpmroot, source_rpm)) assert not os.system("mv %s/SRPMS/%s ." % (rpmroot, source_rpm))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment