File cargo_config.patch of Package python-watchfiles

Index: watchfiles-0.15.0/.cargo/config
===================================================================
--- /dev/null
+++ watchfiles-0.15.0/.cargo/config
@@ -0,0 +1,5 @@
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
\ No newline at end of file
Index: watchfiles-0.15.0/.cargo/config.toml
===================================================================
--- watchfiles-0.15.0.orig/.cargo/config.toml
+++ /dev/null
@@ -1,12 +0,0 @@
-# see https://pyo3.rs/main/building_and_distribution.html#macos
-[target.x86_64-apple-darwin]
-rustflags = [
-  "-C", "link-arg=-undefined",
-  "-C", "link-arg=dynamic_lookup",
-]
-
-[target.aarch64-apple-darwin]
-rustflags = [
-  "-C", "link-arg=-undefined",
-  "-C", "link-arg=dynamic_lookup",
-]
openSUSE Build Service is sponsored by