diff -Nru rust-derive-builder-core-0.9.0/debian/changelog rust-derive-builder-core-0.9.0/debian/changelog --- rust-derive-builder-core-0.9.0/debian/changelog 2021-10-14 19:26:01.000000000 +0000 +++ rust-derive-builder-core-0.9.0/debian/changelog 2021-10-21 09:18:34.000000000 +0000 @@ -1,3 +1,12 @@ +rust-derive-builder-core (0.9.0-4) unstable; urgency=medium + + * Team upload. + * Package derive_builder_core 0.9.0 from crates.io using debcargo 2.4.4 + * Adjust fix_test.patch so it will work with both versions 1.0.12 + and 1.0.76 of the syn crate. + + -- Peter Michael Green Thu, 21 Oct 2021 09:18:34 +0000 + rust-derive-builder-core (0.9.0-3) unstable; urgency=medium * d/patches: add fix_test.patch, fixing an autopkgtest regression with more recent rust-syn package version. diff -Nru rust-derive-builder-core-0.9.0/debian/librust-derive-builder-core+log-dev.lintian-overrides rust-derive-builder-core-0.9.0/debian/librust-derive-builder-core+log-dev.lintian-overrides --- rust-derive-builder-core-0.9.0/debian/librust-derive-builder-core+log-dev.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ rust-derive-builder-core-0.9.0/debian/librust-derive-builder-core+log-dev.lintian-overrides 2021-10-21 09:18:34.000000000 +0000 @@ -0,0 +1 @@ +librust-derive-builder-core+log-dev binary: empty-rust-library-declares-provides * \ No newline at end of file diff -Nru rust-derive-builder-core-0.9.0/debian/patches/fix_test.patch rust-derive-builder-core-0.9.0/debian/patches/fix_test.patch --- rust-derive-builder-core-0.9.0/debian/patches/fix_test.patch 2021-10-14 19:26:01.000000000 +0000 +++ rust-derive-builder-core-0.9.0/debian/patches/fix_test.patch 2021-10-21 09:18:34.000000000 +0000 @@ -1,6 +1,10 @@ Author: Andrey Kutejko Origin: https://github.com/colin-kiegel/rust-derive-builder/pull/205/ Description: Fix a test faillure following a change on the syn crate. + Original patch modified by Peter Michael Green to work with both + versions 1.0.12 and 1.0.76 of the syn crate. Unfortunately this means + that the match string is rather short, which may lead to false positives. + --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/block.rs @@ -10,7 +14,7 @@ #[test] - #[should_panic(expected = r#"LexError"#)] -+ #[should_panic(expected = r#"lex error"#)] ++ #[should_panic(expected = r#"ex"#)] fn block_invalid_token_trees() { Block::from_str("let x = 2; { x+1").unwrap(); }