From 394ad265e44c328b64d9f3c62250b1db6d9cbf0c Mon Sep 17 00:00:00 2001 From: TheK0tYaRa Date: Fri, 20 Feb 2026 23:58:32 +0300 Subject: [PATCH] corrected spec for new vendor --- zerotier-one.spec | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/zerotier-one.spec b/zerotier-one.spec index fffcae992..4cd1d10de 100644 --- a/zerotier-one.spec +++ b/zerotier-one.spec @@ -4,7 +4,7 @@ Release: alt1 Summary: ZeroTier network virtualization service -License: ZeroTier BSL 1.1 +License: BUSL-1.1 Group: Networking/Other Url: https://www.zerotier.com @@ -39,37 +39,32 @@ like conventional VPNs or VLANs. It can run on native systems, VMs, or containers (Docker, OpenVZ, etc.). %prep + %setup -a1 -mkdir -p zeroidc/.cargo -cat <> zeroidc/.cargo/config + +mkdir -p rustybits/.cargo +cat <> rustybits/.cargo/config.toml [source.crates-io] replace-with = "vendored-sources" +[source."git+https://github.com/temporalio/sdk-core?branch=master"] +git = "https://github.com/temporalio/sdk-core" +branch = "master" +replace-with = "vendored-sources" + [source."git+https://github.com/glimberg/rust-jwt"] git = "https://github.com/glimberg/rust-jwt.git" replace-with = "vendored-sources" [source.vendored-sources] -directory = "../vendor" +directory = "$PWD/vendor" [net] offline = true EOF -#== -cp -a vendor/time vendor/time-patched -perl -0777 -pi -e 's/let items = format_items\s*\n\s*\.map\(\|res\|\s*res\.map\(Into::into\)\)\s*\n\s*\.collect::, _>>\(\)\?\s*;/let items = format_items.collect::, _>>()?;/s' \ - vendor/time-patched/src/format_description/parse/mod.rs -### -grep zeroidc/Cargo.toml 'time-patched' || cat >> zeroidc/Cargo.toml <