From 2a65fa1d6d1cf9e70fac8d45874a50f5d8b052dc Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 15 Jan 2025 08:25:38 -0800 Subject: [PATCH] fix: dive (#2986) (#3002) Signed-off-by: madomado (cherry picked from commit 3d330414e0ea392516e6474ddf6c504eef5c7644) Co-authored-by: madomado --- anda/langs/nim/dive/umdive.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/langs/nim/dive/umdive.spec b/anda/langs/nim/dive/umdive.spec index dc73c592c2..f0a5a6e486 100644 --- a/anda/langs/nim/dive/umdive.spec +++ b/anda/langs/nim/dive/umdive.spec @@ -7,7 +7,7 @@ URL: https://github.com/Ultramarine-Linux/dive Source0: %url/archive/refs/tags/v%version.tar.gz Requires: (%_bindir/chroot or %_sbindir/chroot) Requires: %_bindir/mount -BuildRequires: anda-srpm-macros nim +BuildRequires: anda-srpm-macros nim mock Provides: dive = %version-%release %description @@ -15,10 +15,10 @@ Provides: dive = %version-%release %prep %autosetup -n dive-%version +%nim_prep %build -nimble setup -y -nim c %nim_c src/dive +%nim_c src/dive %install install -Dpm755 src/dive %buildroot%_bindir/dive