make tooling able to use kde-release-keyring in uscan
@sitter has already done the hard work:
diff --git a/lib/ci/tar-fetcher/watch.rb b/lib/ci/tar-fetcher/watch.rb
index a3e895d3..db48a48d 100644
--- a/lib/ci/tar-fetcher/watch.rb
+++ b/lib/ci/tar-fetcher/watch.rb
@@ -58,6 +58,7 @@ module CI
# without downloading. then decide whether to wipe destdir and download
# or not.
maybe_mangle do
+ populate_keyring()
make_dir(destdir)
apt_source(destdir)
uscan(@dir, destdir) unless @have_source
@@ -71,6 +72,11 @@ module CI
private
+ def populate_keyring
+ make_dir("#{@dir}/upstream/")
+ FileUtils.cp('/usr/share/kde-release-keyring/signing-key.asc', "#{@dir}/upstream/signing-key.asc", force: true)
+ end
+
def make_dir(destdir)
FileUtils.mkpath(destdir) unless Dir.exist?(destdir)
end
now need to package https://invent.kde.org/neon/neon/keyring
Edited by Carlos De Maine