]> git.proxmox.com Git - dh-cargo.git/commitdiff
Remove Cargo.lock during builds
authorXimin Luo <infinity0@debian.org>
Fri, 16 Aug 2019 01:01:55 +0000 (18:01 -0700)
committerXimin Luo <infinity0@debian.org>
Fri, 16 Aug 2019 01:01:55 +0000 (18:01 -0700)
cargo.pm
debian/changelog

index 882c5cc7750050fd4d7a1bc531191da1a599a2fe..c1fdd08a0f4f66d4954f0650bcc5c2fc2e3f7d0c 100644 (file)
--- a/cargo.pm
+++ b/cargo.pm
@@ -123,6 +123,7 @@ sub configure {
     my $this=shift;
     doit("cp", $this->get_sourcepath("debian/cargo-checksum.json"),
                $this->get_sourcepath(".cargo-checksum.json"));
+    doit("rm", "-f", $this->get_sourcepath("Cargo.lock"));
     doit("/usr/share/cargo/bin/cargo", "prepare-debian", "debian/cargo_registry", "--link-from-system");
 }
 
index cce3fa689c85fccc4a3ea8b08366bdbfae60d794..f7c37fb2a0896f6c83a09976618925123bcacb3e 100644 (file)
@@ -1,3 +1,9 @@
+dh-cargo (20) UNRELEASED; urgency=medium
+
+  * Remove Cargo.lock since this prevents us from upgrading stuff.
+
+ -- Ximin Luo <infinity0@debian.org>  Thu, 15 Aug 2019 18:01:15 -0700
+
 dh-cargo (19) unstable; urgency=medium
 
   * Team upload