mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-01 03:21:41 +00:00
fix(deck): Add patch for vpower service file to point to correct location.
This commit is contained in:
parent
561f46202a
commit
cfbbdc7770
11
spec_files/vpower/fedora.patch
Normal file
11
spec_files/vpower/fedora.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- vpower.service
|
||||
+++ vpower.service
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=vpower daemon
|
||||
|
||||
[Service]
|
||||
-ExecStart=/usr/lib/vpower
|
||||
+ExecStart=/usr/bin/vpower
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
|
@ -1,11 +1,12 @@
|
||||
Name: vpower
|
||||
Version: 1.4.0
|
||||
Release: %autorelease
|
||||
Version: {{{ git_dir_version }}}
|
||||
Release: 1%{?dist}
|
||||
Summary: Service that calculates battery metrics and handles critical battery scenarios
|
||||
|
||||
License: MIT
|
||||
URL: https://gitlab.com/evlaV/vpower/
|
||||
Source: %{url}-/archive/main/vpower-main.tar.gz
|
||||
Patch0: fedora.patch
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
BuildRequires: lm_sensors-devel
|
||||
|
Loading…
Reference in New Issue
Block a user