diff -pruN 0.20.6-6/debian/changelog 0.20.6-7/debian/changelog
--- 0.20.6-6/debian/changelog	2022-07-01 11:29:28.000000000 +0000
+++ 0.20.6-7/debian/changelog	2022-08-01 18:30:13.000000000 +0000
@@ -1,3 +1,15 @@
+rust-rustls (0.20.6-7) unstable; urgency=medium
+
+  * fix cleanup temporary file;
+    closes: 1016487, thanks to Chris Lamb
+  * add patch cherry-picked upstream
+    to delete unused dev-deps ct-logs in rustls-mio,
+    replacing patch 2002
+  * unfuzz patches
+  * stop overzealously provide versioned virtual packages
+
+ -- Jonas Smedegaard <dr@jones.dk>  Mon, 01 Aug 2022 20:30:13 +0200
+
 rust-rustls (0.20.6-6) unstable; urgency=medium
 
   * omit root hidden files in fuzz and test-ca data
diff -pruN 0.20.6-6/debian/control 0.20.6-7/debian/control
--- 0.20.6-6/debian/control	2022-06-25 19:42:02.000000000 +0000
+++ 0.20.6-7/debian/control	2022-08-01 18:30:13.000000000 +0000
@@ -43,17 +43,10 @@ Provides:
  librust-rustls+quic-dev (= ${binary:Version}),
  librust-rustls+read-buf-dev (= ${binary:Version}),
  librust-rustls+tls12-dev (= ${binary:Version}),
- librust-rustls-0+dangerous-configuration-dev (= ${binary:Version}),
- librust-rustls-0+quic-dev (= ${binary:Version}),
- librust-rustls-0+tls12-dev (= ${binary:Version}),
- librust-rustls-0-dev (= ${binary:Version}),
  librust-rustls-0.20+dangerous-configuration-dev (= ${binary:Version}),
  librust-rustls-0.20+quic-dev (= ${binary:Version}),
  librust-rustls-0.20+tls12-dev (= ${binary:Version}),
  librust-rustls-0.20-dev (= ${binary:Version}),
- librust-rustls-0.20.6+dangerous-configuration-dev (= ${binary:Version}),
- librust-rustls-0.20.6+quic-dev (= ${binary:Version}),
- librust-rustls-0.20.6+tls12-dev (= ${binary:Version}),
  librust-rustls-0.20.6-dev (= ${binary:Version}),
 Description: modern TLS library written in Rust - Rust source code
  Rustls is a modern TLS library written in Rust.
@@ -78,12 +71,8 @@ Depends:
 Provides:
  librust-rustls+default-dev (= ${binary:Version}),
  librust-rustls+logging-dev (= ${binary:Version}),
- librust-rustls-0+default-dev (= ${binary:Version}),
- librust-rustls-0+logging-dev (= ${binary:Version}),
  librust-rustls-0.20+default-dev (= ${binary:Version}),
  librust-rustls-0.20+logging-dev (= ${binary:Version}),
- librust-rustls-0.20.6+default-dev (= ${binary:Version}),
- librust-rustls-0.20.6+logging-dev (= ${binary:Version}),
 Description: modern TLS library written in Rust - features default logging
  Rustls is a modern TLS library written in Rust.
  It uses ring for cryptography
diff -pruN 0.20.6-6/debian/copyright_hints 0.20.6-7/debian/copyright_hints
--- 0.20.6-6/debian/copyright_hints	2022-07-01 07:46:02.000000000 +0000
+++ 0.20.6-7/debian/copyright_hints	2022-08-01 18:30:13.000000000 +0000
@@ -44,8 +44,8 @@ Files: CODE_OF_CONDUCT.md
  debian/librust-rustls+log-dev.lintian-overrides
  debian/librust-rustls-dev.install
  debian/patches/020220628~db56bea.patch
+ debian/patches/020220717~52e053e.patch
  debian/patches/2001_native_certs.patch
- debian/patches/2002_ct-logs.patch
  debian/patches/2003_network_access.patch
  debian/patches/README
  debian/patches/series
diff -pruN 0.20.6-6/debian/patches/020220717~52e053e.patch 0.20.6-7/debian/patches/020220717~52e053e.patch
--- 0.20.6-6/debian/patches/020220717~52e053e.patch	1970-01-01 00:00:00.000000000 +0000
+++ 0.20.6-7/debian/patches/020220717~52e053e.patch	2022-08-01 18:30:13.000000000 +0000
@@ -0,0 +1,17 @@
+Description: delete unused dev-deps ct-logs in rustls-mio
+Origin: upstream, https://github.com/ctz/rustls/commit/52e053e
+Bug: https://github.com/rustls/rustls/issues/1073
+Author: tieway59 <40034603+TieWay59@users.noreply.github.com>
+Last-Update: 2022-08-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/rustls-mio/Cargo.toml
++++ b/rustls-mio/Cargo.toml
+@@ -21,7 +21,6 @@
+ sct = "0.7"
+ 
+ [dev-dependencies]
+-ct-logs = "0.9"
+ docopt = "~1.1"
+ env_logger = "0.9.0"
+ mio = { version = "0.8", features = ["net", "os-poll"] }
diff -pruN 0.20.6-6/debian/patches/2001_native_certs.patch 0.20.6-7/debian/patches/2001_native_certs.patch
--- 0.20.6-6/debian/patches/2001_native_certs.patch	2022-06-25 19:41:47.000000000 +0000
+++ 0.20.6-7/debian/patches/2001_native_certs.patch	2022-08-01 18:30:13.000000000 +0000
@@ -239,7 +239,7 @@ This patch header follows DEP-3: http://
              domain,
 --- a/rustls-mio/Cargo.toml
 +++ b/rustls-mio/Cargo.toml
-@@ -28,7 +28,7 @@
+@@ -27,7 +27,7 @@
  regex = "1.0"
  serde = "1.0"
  serde_derive = "1.0"
diff -pruN 0.20.6-6/debian/patches/2002_ct-logs.patch 0.20.6-7/debian/patches/2002_ct-logs.patch
--- 0.20.6-6/debian/patches/2002_ct-logs.patch	2022-06-27 13:47:42.000000000 +0000
+++ 0.20.6-7/debian/patches/2002_ct-logs.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-Description: avoid not yet packaged crate ct-logs
-Author: Jonas Smedegaard <dr@jones.dk>
-Bug: https://github.com/rustls/rustls/issues/1073
-Last-Update: 2022-06-27
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/rustls-mio/Cargo.toml
-+++ b/rustls-mio/Cargo.toml
-@@ -21,7 +21,6 @@
- sct = "0.7"
- 
- [dev-dependencies]
--ct-logs = "0.9"
- docopt = "~1.1"
- env_logger = "0.9.0"
- mio = { version = "0.8", features = ["net", "os-poll"] }
diff -pruN 0.20.6-6/debian/patches/series 0.20.6-7/debian/patches/series
--- 0.20.6-6/debian/patches/series	2022-07-01 07:45:56.000000000 +0000
+++ 0.20.6-7/debian/patches/series	2022-08-01 18:30:13.000000000 +0000
@@ -1,4 +1,4 @@
 020220628~db56bea.patch
+020220717~52e053e.patch
 2001_native_certs.patch
-2002_ct-logs.patch
 2003_network_access.patch
diff -pruN 0.20.6-6/debian/rules 0.20.6-7/debian/rules
--- 0.20.6-6/debian/rules	2022-06-26 15:13:21.000000000 +0000
+++ 0.20.6-7/debian/rules	2022-08-01 18:30:13.000000000 +0000
@@ -10,7 +10,7 @@ export PATH PERL5LIB
 
 # cleanup after test
 execute_after_dh_auto_test:
-	rm -rf sslkeylogfile.txt
+	rm -rf rustls/sslkeylogfile.txt
 
 # mangle system-shared code to use system-shared test-ca and fuzz data
 execute_after_dh_auto_install:
