Skip to content

Commit

Permalink
bump: umupgrader
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored May 7, 2024
1 parent b398293 commit b7cc81f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ultramarine/umupgrader/umupgrader.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7cc81f

Please sign in to comment.