fix(deck): Add patch for vpower service file to point to correct location.

This commit is contained in:
Kyle Gospodnetich 2023-07-25 14:21:20 -07:00
parent 561f46202a
commit cfbbdc7770
2 changed files with 14 additions and 2 deletions

View 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

View File

@ -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