diff --git a/src/ipnet/debian/changelog b/src/ipnet/debian/changelog index c6da035..f46991c 100644 --- a/src/ipnet/debian/changelog +++ b/src/ipnet/debian/changelog @@ -1,8 +1,9 @@ rust-ipnet (2.5.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium * Team upload. - * Package ipnet 2.5.0 from crates.io using debcargo 2.5.0 + * Package ipnet 2.5.0 from crates.io using debcargo 2.5.0 (Closes: #1013115) * Set collapse_features = true + * Disable schemars and json features, rust-schemars is not in Debian. -- Peter Michael Green Thu, 23 Jun 2022 17:29:03 +0000 diff --git a/src/ipnet/debian/patches/remove-schemars.diff b/src/ipnet/debian/patches/remove-schemars.diff new file mode 100644 index 0000000..199223c --- /dev/null +++ b/src/ipnet/debian/patches/remove-schemars.diff @@ -0,0 +1,21 @@ +Index: ipnet/Cargo.toml +=================================================================== +--- ipnet.orig/Cargo.toml ++++ ipnet/Cargo.toml +@@ -21,9 +21,6 @@ keywords = ["IP", "CIDR", "network", "pr + categories = ["network-programming"] + license = "MIT OR Apache-2.0" + repository = "https://github.com/krisprice/ipnet" +-[dependencies.schemars] +-version = "0.8" +-optional = true + + [dependencies.serde] + version = "1" +@@ -35,6 +32,5 @@ version = "1" + + [features] + default = [] +-json = ["serde", "schemars"] + [badges.travis-ci] + repository = "krisprice/ipnet" diff --git a/src/ipnet/debian/patches/series b/src/ipnet/debian/patches/series new file mode 100644 index 0000000..0daccf0 --- /dev/null +++ b/src/ipnet/debian/patches/series @@ -0,0 +1 @@ +remove-schemars.diff