commit 0302a228f886c51fc9fffc807443e68412814795
parent 0cb400efe3113ec1ab5d33a1c90f22d0529f7121
Author: William Casarin <jb55@jb55.com>
Date: Fri, 13 Dec 2024 10:18:08 -0800
rpm: fix rpm build
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
@@ -81,11 +81,11 @@ jobs:
- name: Build RPM (Cross)
if: matrix.arch != runner.arch
- run: cargo generate-rpm --target=${{ matrix.arch }}-unknown-linux-gnu
+ run: cargo generate-rpm -p crates/notedeck_chrome --target=${{ matrix.arch }}-unknown-linux-gnu
- name: Build RPM
if: matrix.arch == runner.arch
- run: cargo generate-rpm
+ run: cargo generate-rpm -p crates/notedeck_chrome
- name: Build deb (Cross)
if: matrix.arch != runner.arch
diff --git a/crates/notedeck_chrome/Cargo.toml b/crates/notedeck_chrome/Cargo.toml
@@ -79,6 +79,7 @@ name = "android.permission.INTERNET"
label = "Damus"
[package.metadata.generate-rpm]
+name = "notedeck"
assets = [
{ source = "target/release/notedeck", dest = "/usr/bin/notedeck", mode = "755" },
]