From e55767db60e22424a0ef087eaa0bbbe393d4a9a9 Mon Sep 17 00:00:00 2001 From: madonuko Date: Thu, 1 Aug 2024 22:33:29 +0800 Subject: [PATCH] fix(zed*): add cargo clean to make for more disk space --- anda/devs/zed/nightly/zed-nightly.spec | 2 ++ anda/devs/zed/preview/zed-preview.spec | 2 ++ anda/devs/zed/stable/zed.spec | 2 ++ 3 files changed, 6 insertions(+) diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index a5f0dd41d1..e6fc65a1ea 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -79,6 +79,8 @@ script/generate-licenses install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed +%__cargo clean + install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/pixmaps/%app_id.png diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index f210e17eb6..ba6a659dba 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -75,6 +75,8 @@ script/generate-licenses install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed +%__cargo clean + install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index 7649c7d70a..c83aaf10f3 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -75,6 +75,8 @@ script/generate-licenses install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed +%__cargo clean + install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/pixmaps/%app_id.png