You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
892 B

From 32b6a772d828432411aca2825bc8f365d8f46db7 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 1 Feb 2021 16:04:33 +0100
Subject: [PATCH] make: do not require Cargo.lock
Fedora tooling removes the lock file so that we have more wiggle room
when providing Rust dependencies. The rule does not actually need it.
Signed-off-by: rpm-build <rpm-build>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 272383b..3a51752 100644
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ all: doc $(NEWSBOAT) $(PODBOAT) mo-files
NB_DEPS=xlicense.h $(LIB_OUTPUT) $(FILTERLIB_OUTPUT) $(NEWSBOAT_OBJS) $(RSSPPLIB_OUTPUT) $(NEWSBOATLIB_OUTPUT)
-$(NEWSBOATLIB_OUTPUT): $(RUST_SRCS) Cargo.lock
+$(NEWSBOATLIB_OUTPUT): $(RUST_SRCS)
+$(CARGO) build --package libnewsboat-ffi $(CARGO_BUILD_FLAGS)
$(NEWSBOAT): $(NB_DEPS)
--
2.37.3