[SCM] ci-tooling packaging branch, master, updated. 6664b7259d4afe8cb16494c8581935f458a2a670

Harald Sitter apachelogger-guest at moszumanska.debian.org
Tue May 19 09:48:57 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=6664b72

The following commit has been merged in the master branch:
commit 6664b7259d4afe8cb16494c8581935f458a2a670
Author: Harald Sitter <sitter at kde.org>
Date:   Tue May 19 11:48:54 2015 +0200

    fix debsign
    
    the manpage says debsign would try to figure out where the changes file is
    from debian/, alas it doesn't appear to do a very good job at it.
    instead manually find the changes file
---
 kci/builder.rb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/kci/builder.rb b/kci/builder.rb
index 2d2763d..745ffe3 100755
--- a/kci/builder.rb
+++ b/kci/builder.rb
@@ -196,8 +196,12 @@ rescue Debian::DSCArch::Error => e
 end
 
 # Sign
-Dir.chdir('build/source/') do
-  abort 'Failed to sign the source.' unless system("debsign -k#{KEYID}")
+Dir.chdir('build/') do
+  changes = Dir.glob('*.changes')
+  abort "Expected only one changes file #{changes}" if changes.size != 1
+  unless system("debsign -k#{KEYID} #{changes[0]}")
+    abort 'Failed to sign the source.'
+  end
 end
 
 # Upload

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list