Skip to content

Commit 99b7ce7

Browse files
rabonekoOwen-sz
andauthored
backport: 'fix(asusctl): track versions properly' (#7129) (#7130)
(cherry picked from commit d523593) Signed-off-by: Owen-sz <owen@fyralabs.com> Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
1 parent 11d561b commit 99b7ce7

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

anda/system/asusctl/asusctl.spec

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
%global debug_package %{nil}
22

3-
%global commit c9e76f327376c8bb6ab4e4cc5187954aa8cdc538
4-
%global commit_date 20251020
5-
%global shortcommit %(c=%{commit}; echo ${c:0:7})
6-
73
Name: asusctl
8-
Version: %commit_date.%shortcommit
4+
Version: 6.1.16
95
Release: 1%?dist
106
Summary: A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops
117
URL: https://gitlab.com/asus-linux/asusctl
12-
Source0: %url/-/archive/%commit/asusctl-%commit.tar.gz
8+
Source0: %url/-/archive/%version/asusctl-%version.tar.gz
139
License: MPL-2.0
1410
Patch0: fix-makefile.patch
15-
BuildRequires: anda-srpm-macros cargo-rpm-macros systemd-rpm-macros mold rust-udev-devel clang-devel
11+
BuildRequires: anda-srpm-macros cargo-rpm-macros systemd-rpm-macros mold rust-udev-devel clang-devel
1612
BuildRequires: desktop-file-utils
1713
BuildRequires: cmake
1814
BuildRequires: rust
@@ -39,7 +35,7 @@ A one-stop-shop GUI tool for asusd/asusctl. It aims to provide most controls,
3935
a notification service, and ability to run in the background.
4036

4137
%prep
42-
%autosetup -p1 -n asusctl-%commit
38+
%autosetup -p1 -n asusctl-%version
4339
%cargo_prep_online
4440

4541
%build

0 commit comments

Comments
 (0)