Richard Rahl 2024-08-07 06:35:14 +00:00 committed by Git OBS Bridge
parent 96ab4c8ec4
commit cb521bbdc2
6 changed files with 30 additions and 7 deletions

View File

@ -3,8 +3,8 @@
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/pop-os/cosmic-session.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionformat">0.1.0+git%cd.%h</param>
<param name="revision">@PARENT_TAG@</param>
<param name="versionformat">1.0.0.a1</param>
<param name="package-meta">yes</param>
</service>
<service name="recompress" mode="manual">

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0870b9a68028df82b51ceb74024be8c4ea2254a2116dc248a17e3507b179ad6f
size 173903

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 7 01:50:31 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.0.0-alpha1:
* Depend on switcheroo-control
- enable leap (thanks to vyvir)
-------------------------------------------------------------------
Thu Mar 14 02:36:04 UTC 2024 - Richard Rahl <rrahl0@proton.me>

View File

@ -17,21 +17,26 @@
Name: cosmic-session
Version: 0.1.0+git20240715.577a181
Version: 1.0.0.a1
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: leap-fix-libexec.patch
BuildRequires: cargo-packaging
BuildRequires: just
Requires: switcheroo-control
%description
%{summary}.
%prep
%autosetup -p1 -a1
%autosetup -N -a1
%if 0%{?suse_version} < 1600
%autopatch -p0
%endif
%build
just build

11
leap-fix-libexec.patch Normal file
View File

@ -0,0 +1,11 @@
--- ./Justfile.orig 2024-07-29 21:04:43.186719834 +0300
+++ ./Justfile 2024-07-29 21:05:22.143729145 +0300
@@ -9,7 +9,7 @@ target := if debug == '1' { 'debug' } el
vendor_args := if vendor == '1' { '--frozen --offline' } else { '' }
debug_args := if debug == '1' { '' } else { '--release' }
cargo_args := vendor_args + ' ' + debug_args
-xdp_cosmic := '/usr/libexec/xdg-desktop-portal-cosmic'
+xdp_cosmic := '/usr/lib/xdg-desktop-portal-cosmic'
bindir := prefix + '/bin'
systemddir := prefix + '/lib/systemd/user'