[09/32] rust-rand: Update for template to add removal of Cargo.toml.orig from source file

Message ID 20241221125539.15309-9-adolf.belka@ipfire.org
State New
Headers
Series [01/32] rust: Update to version 1.83.0 |

Commit Message

Adolf Belka Dec. 21, 2024, 12:55 p.m. UTC
  Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/rust-rand | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/lfs/rust-rand b/lfs/rust-rand
index d27d2bdbd..117ccf5b8 100644
--- a/lfs/rust-rand
+++ b/lfs/rust-rand
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -73,6 +73,7 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && rm Cargo.toml.orig
 	cd $(DIR_APP) && $(CARGO_PREPARE)
 	cd $(DIR_APP) && $(CARGO_BUILD)
 	cd $(DIR_APP) && $(CARGO_INSTALL)