Skip to content

Commit

Permalink
fix: espanso (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored Apr 29, 2024
1 parent 5d48436 commit 7d29601
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions anda/tools/espanso-wayland/espanso-wayland.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: espanso-wayland
Version: 2.2.1
Release: 1%?dist
Release: 2%?dist
Summary: Cross-platform Text Expander written in Rust for Wayland
License: GPL-3.0
URL: https://espanso.org
Expand Down Expand Up @@ -29,14 +29,14 @@ cd espanso

%build
cd espanso
#cargo_build -n -f vendored-tls -f wayland
%cargo_build -n -f vendored-tls -- --package={espanso,espanso-clipboard,espanso-config,espanso-detect,espanso-engine,espanso-info,espanso-inject,espanso-ipc,espanso-kvs,espanso-mac-utils,espanso-match,espanso-migrate,espanso-modulo,espanso-package,espanso-path,espanso-render,espanso-ui}

%install
cd espanso
%cargo_install -n -f vendored-tls -f wayland
mkdir -p %buildroot%_bindir
install -Dm755 target/rpm/espanso %buildroot%_bindir

%files
%_bindir/espanso
%caps(cap_dac_override=pe) %_bindir/espanso

%changelog
%autochangelog
10 changes: 5 additions & 5 deletions anda/tools/espanso-x11/espanso-x11.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: espanso-x11
Version: 2.2.1
Release: 1%?dist
Release: 2%?dist
Summary: Cross-platform Text Expander written in Rust for X11
License: GPL-3.0
URL: https://espanso.org
Expand Down Expand Up @@ -29,14 +29,14 @@ cd espanso

%build
cd espanso
#cargo_build -n -f vendored-tls
%cargo_build -n -f vendored-tls -- --package={espanso,espanso-clipboard,espanso-config,espanso-detect,espanso-engine,espanso-info,espanso-inject,espanso-ipc,espanso-kvs,espanso-mac-utils,espanso-match,espanso-migrate,espanso-modulo,espanso-package,espanso-path,espanso-render,espanso-ui}

%install
cd espanso
%cargo_install -n -f vendored-tls
mkdir -p %buildroot%_bindir
install -Dm755 target/rpm/espanso %buildroot%_bindir

%files
%_bindir/espanso
%caps(cap_dac_override=pe) %_bindir/espanso

%changelog
%autochangelog

0 comments on commit 7d29601

Please sign in to comment.