From 21ea67da9fc431917bb25038a9b4b59a22eae64f Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 1 Aug 2024 21:55:08 -0700 Subject: [PATCH] fix(zed*): add cargo clean to make for more disk space (#1805) (#1812) (cherry picked from commit 249771226108bf833f453b0ed2b243a351b92c31) Co-authored-by: madomado --- 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 6554a0e20b..9a9beef5d0 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 19ac89102a..6e27bfb307 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 f5903cf796..8524605a9e 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