summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-01-19 18:45:50 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-01-19 18:45:50 +0000
commitcdb6511338cb6dd1f36d47e108b2532a843f89d2 (patch)
tree9f6e45a826869e8ebd2d7523115676aa6610f445 /rdiff-backup
parentb8146fc08f8353f4c7aa6633de576898f2f7491c (diff)
downloadrdiff-backup-cdb6511338cb6dd1f36d47e108b2532a843f89d2.tar.gz
Sign rpms again, remove rpms from rpm dir when done
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@269 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rwxr-xr-xrdiff-backup/dist/makerpm6
1 files changed, 3 insertions, 3 deletions
diff --git a/rdiff-backup/dist/makerpm b/rdiff-backup/dist/makerpm
index 2f275b2..c676ee9 100755
--- a/rdiff-backup/dist/makerpm
+++ b/rdiff-backup/dist/makerpm
@@ -22,7 +22,7 @@ tarfile = "-".join(base.split("-")[:-1]) + ".tar.gz"
# nonstandard location allows for building by non-root user.
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("rpmbuild -ba -v " + specfile)
-assert not os.system("cp %s/RPMS/i386/%s ." % (rpmroot, i386rpm))
-assert not os.system("cp %s/SRPMS/%s ." % (rpmroot, source_rpm))
+assert not os.system("rpmbuild -ba -v --sign " + specfile)
+assert not os.system("mv %s/RPMS/i386/%s ." % (rpmroot, i386rpm))
+assert not os.system("mv %s/SRPMS/%s ." % (rpmroot, source_rpm))