From b7cc81f09c48e3ebf50212f7d338a7d6a04ed860 Mon Sep 17 00:00:00 2001 From: madomado Date: Tue, 7 May 2024 15:41:47 +0800 Subject: [PATCH] bump: umupgrader --- ultramarine/umupgrader/umupgrader.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ultramarine/umupgrader/umupgrader.spec b/ultramarine/umupgrader/umupgrader.spec index 7e90d3a..ee55a8e 100644 --- a/ultramarine/umupgrader/umupgrader.spec +++ b/ultramarine/umupgrader/umupgrader.spec @@ -14,16 +14,15 @@ BuildRequires: nim git-core pkgconfig(gtk4) pkgconfig(libadwaita-1) anda-srpm-m %autosetup %build -nimble build umupgrader -y -t:'%nim_tflags' -l:'%nim_lflags' --debuginfo:on +BASEDIR=%buildroot%_prefix nim install.nims umupgrader -y -t:'%nim_tflags' -l:'%nim_lflags' --debuginfo:on %install -mkdir -p %buildroot%_bindir %buildroot%_datadir/polkit-1/actions -install -Dm755 %name %buildroot%_bindir/ -install -Dm644 com.fyralabs.umupgrader.policy %buildroot%_datadir/polkit-1/actions/ +mv %buildroot%_datadir/applications/umupgrader.desktop %buildroot%_datadir/applications/com.fyralabs.umupgrader.desktop %files %_bindir/%name %_datadir/polkit-1/actions/com.fyralabs.umupgrader.policy +%_datadir/applications/com.fyralabs.umupgrader.desktop %changelog %autochangelog