]> git.proxmox.com Git - debcargo-conf.git/commitdiff
derive-builder-core: fix an autopkgtest regression
authorHenry-Nicolas Tourneur <debian@nilux.be>
Wed, 13 Oct 2021 16:28:10 +0000 (16:28 +0000)
committerHenry-Nicolas Tourneur <debian@nilux.be>
Wed, 13 Oct 2021 16:28:10 +0000 (16:28 +0000)
src/derive-builder-core/debian/RFS [new file with mode: 0644]
src/derive-builder-core/debian/changelog
src/derive-builder-core/debian/patches/fix_test.patch [new file with mode: 0644]
src/derive-builder-core/debian/patches/series [new file with mode: 0644]

diff --git a/src/derive-builder-core/debian/RFS b/src/derive-builder-core/debian/RFS
new file mode 100644 (file)
index 0000000..e69de29
index ee61de591798a3f2905704eda63a277f5f074103..c41551ed7bbec18a43386c4966d5789d1e6a30c5 100644 (file)
@@ -1,3 +1,9 @@
+rust-derive-builder-core (0.9.0-3) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+  * d/patches: add fix_test.patch, fixing an autopkgtest regression
+    with more recent rust-syn package version.
+
+ -- Henry-Nicolas Tourneur <debian@nilux.be>  Wed, 13 Oct 2021 16:15:00 +0000
+
 rust-derive-builder-core (0.9.0-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/src/derive-builder-core/debian/patches/fix_test.patch b/src/derive-builder-core/debian/patches/fix_test.patch
new file mode 100644 (file)
index 0000000..7ffd0e9
--- /dev/null
@@ -0,0 +1,16 @@
+Author: Andrey Kutejko <andy128k@gmail.com>
+Origin: https://github.com/colin-kiegel/rust-derive-builder/pull/205/
+Description: Fix a test faillure following a change on the syn crate.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/block.rs
++++ b/src/block.rs
+@@ -67,7 +67,7 @@ mod test {
+     use super::*;
+     #[test]
+-    #[should_panic(expected = r#"LexError"#)]
++    #[should_panic(expected = r#"lex error"#)]
+     fn block_invalid_token_trees() {
+         Block::from_str("let x = 2; { x+1").unwrap();
+     }
diff --git a/src/derive-builder-core/debian/patches/series b/src/derive-builder-core/debian/patches/series
new file mode 100644 (file)
index 0000000..566b050
--- /dev/null
@@ -0,0 +1 @@
+fix_test.patch