From 4d0ca7e76947e040f62ebac2212e92d719a3bb82 Mon Sep 17 00:00:00 2001 From: Gaius Date: Wed, 4 Dec 2024 18:15:37 +0800 Subject: [PATCH] chore: add auto-req no for building rpm Signed-off-by: Gaius --- .github/workflows/release.yml | 2 +- Cargo.lock | 16 ++++++++-------- Cargo.toml | 16 ++++++++-------- dragonfly-client/Cargo.toml | 2 ++ 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50dcbcc1..0388bee3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: run: | binary_name="client" dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}" - cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --payload-compress gzip --output $dirname.rpm + cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --payload-compress none --output $dirname.rpm echo "CLIENT_RPM_ASSET=$dirname.rpm" >> $GITHUB_ENV - name: Build archive client(TAR) diff --git a/Cargo.lock b/Cargo.lock index 8b90a744..fb435a6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -871,7 +871,7 @@ dependencies = [ [[package]] name = "dragonfly-client" -version = "0.1.121" +version = "0.1.122" dependencies = [ "anyhow", "blake3", @@ -944,7 +944,7 @@ dependencies = [ [[package]] name = "dragonfly-client-backend" -version = "0.1.121" +version = "0.1.122" dependencies = [ "dragonfly-api", "dragonfly-client-core", @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "dragonfly-client-config" -version = "0.1.121" +version = "0.1.122" dependencies = [ "bytesize", "bytesize-serde", @@ -1001,7 +1001,7 @@ dependencies = [ [[package]] name = "dragonfly-client-core" -version = "0.1.121" +version = "0.1.122" dependencies = [ "headers 0.4.0", "hyper 1.5.1", @@ -1020,7 +1020,7 @@ dependencies = [ [[package]] name = "dragonfly-client-init" -version = "0.1.121" +version = "0.1.122" dependencies = [ "anyhow", "clap", @@ -1038,7 +1038,7 @@ dependencies = [ [[package]] name = "dragonfly-client-storage" -version = "0.1.121" +version = "0.1.122" dependencies = [ "base16ct", "bincode", @@ -1064,7 +1064,7 @@ dependencies = [ [[package]] name = "dragonfly-client-util" -version = "0.1.121" +version = "0.1.122" dependencies = [ "base16ct", "base64 0.22.1", @@ -1454,7 +1454,7 @@ dependencies = [ [[package]] name = "hdfs" -version = "0.1.121" +version = "0.1.122" dependencies = [ "dragonfly-client-backend", "dragonfly-client-core", diff --git a/Cargo.toml b/Cargo.toml index b164f50f..2bfdfbb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.1.121" +version = "0.1.122" authors = ["The Dragonfly Developers"] homepage = "https://d7y.io/" repository = "https://github.com/dragonflyoss/client.git" @@ -22,13 +22,13 @@ readme = "README.md" edition = "2021" [workspace.dependencies] -dragonfly-client = { path = "dragonfly-client", version = "0.1.121" } -dragonfly-client-core = { path = "dragonfly-client-core", version = "0.1.121" } -dragonfly-client-config = { path = "dragonfly-client-config", version = "0.1.121" } -dragonfly-client-storage = { path = "dragonfly-client-storage", version = "0.1.121" } -dragonfly-client-backend = { path = "dragonfly-client-backend", version = "0.1.121" } -dragonfly-client-util = { path = "dragonfly-client-util", version = "0.1.121" } -dragonfly-client-init = { path = "dragonfly-client-init", version = "0.1.121" } +dragonfly-client = { path = "dragonfly-client", version = "0.1.122" } +dragonfly-client-core = { path = "dragonfly-client-core", version = "0.1.122" } +dragonfly-client-config = { path = "dragonfly-client-config", version = "0.1.122" } +dragonfly-client-storage = { path = "dragonfly-client-storage", version = "0.1.122" } +dragonfly-client-backend = { path = "dragonfly-client-backend", version = "0.1.122" } +dragonfly-client-util = { path = "dragonfly-client-util", version = "0.1.122" } +dragonfly-client-init = { path = "dragonfly-client-init", version = "0.1.122" } thiserror = "1.0" dragonfly-api = "=2.0.173" reqwest = { version = "0.12.4", features = ["stream", "native-tls", "default-tls", "rustls-tls"] } diff --git a/dragonfly-client/Cargo.toml b/dragonfly-client/Cargo.toml index 3248acbc..98b7628e 100644 --- a/dragonfly-client/Cargo.toml +++ b/dragonfly-client/Cargo.toml @@ -334,6 +334,7 @@ assets = [ { source = "../LICENSE", dest = "/usr/share/doc/client/LICENSE.md", mode = "644", doc = true }, { source = "../README.md", dest = "/usr/share/doc/client/README.md", mode = "644", doc = true }, ] +auto-req = "no" [package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu] assets = [ @@ -360,3 +361,4 @@ assets = [ { source = "../LICENSE", dest = "/usr/share/doc/client/LICENSE.md", mode = "644", doc = true }, { source = "../README.md", dest = "/usr/share/doc/client/README.md", mode = "644", doc = true }, ] +auto-req = "no"