Richard Rahl 2024-07-28 13:40:08 +00:00 committed by Git OBS Bridge
parent bf7cd3b663
commit 96ab4c8ec4
4 changed files with 5 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e94f7b24de09c6fa5fb897a7423bfc202d0850a8a6757998b951e3555729ba3
size 172927

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:914976c1a344178f41aa77d372fbf2b0056b8255ca9b8d537d1840a22cdd1db0
size 172965

View File

@ -17,14 +17,13 @@
Name: cosmic-session
Version: 0.1.0+git20240627.b4561cf
Version: 0.1.0+git20240715.577a181
Release: 0
Summary: Session manager for the COSMIC desktop environment
License: GPL-3.0-only
URL: https://github.com/pop-os/cosmic-session
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Patch0: fix-justfile.patch
BuildRequires: cargo-packaging
BuildRequires: just
@ -38,7 +37,7 @@ BuildRequires: just
just build
%install
just rootdir=%{buildroot} prefix=%{_prefix} install
just rootdir=%{buildroot} install
%check
%{cargo_test}

View File

@ -1,28 +0,0 @@
diff -rub cosmic-session/Justfile cosmic-session-patched/Justfile
--- cosmic-session/Justfile 2024-03-14 03:35:19.178452316 +0100
+++ cosmic-session-patched/Justfile 2024-03-14 03:44:03.809263980 +0100
@@ -23,19 +23,19 @@
# Installs files into the system
install:
# main binary
- install -Dm0755 target/release/cosmic-session {{bindir}}/cosmic-session
+ install -Dm0755 target/release/cosmic-session {{rootdir}}/{{bindir}}/cosmic-session
# session start script
- install -Dm0755 data/start-cosmic {{bindir}}/start-cosmic
+ install -Dm0755 data/start-cosmic {{rootdir}}/{{bindir}}/start-cosmic
# systemd target
- install -Dm0644 data/cosmic-session.target {{systemddir}}/cosmic-session.target
+ install -Dm0644 data/cosmic-session.target {{rootdir}}/{{systemddir}}/cosmic-session.target
# session
- install -Dm0644 data/cosmic.desktop {{sessiondir}}/cosmic.desktop
+ install -Dm0644 data/cosmic.desktop {{rootdir}}/{{sessiondir}}/cosmic.desktop
# mimeapps
- install -Dm0644 data/cosmic-mimeapps.list {{applicationdir}}/cosmic-mimeapps.list
+ install -Dm0644 data/cosmic-mimeapps.list {{rootdir}}/{{applicationdir}}/cosmic-mimeapps.list
clean_vendor:
rm -rf vendor vendor.tar .cargo/config