From 4056e334b2a95ff7e65fa53d5f5f0867cfa76b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Mon, 8 Jan 2024 16:47:06 +0100 Subject: [PATCH] Cargo.toml: Exclude idna/tests for vendor tarball Exclude test files from the `idna` create that we don't need for rpm-ostree. Those test fiels include invalid Unicode code points for testing and that triggers rpminspect checks for Fedora RPM packaging. Fixes: https://github.com/coreos/rpm-ostree/issues/4760 See: https://github.com/servo/rust-url/blob/master/idna/tests/IdnaTestV2.txt --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 83e1e83b82..2cb2817240 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,8 @@ exclude-crate-paths = [ { name = "libz-sys", exclude = "src/zlib" }, { name = "rustix", exclude = "src/imp/linux_raw" }, # Test files that include binaries { name = "system-deps", exclude = "src/tests" }, + # Test files that include invalid Unicode code points + { name = "idna", exclude = "tests" }, ] # This currently needs to duplicate the libraries in configure.ac