mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* fix: socktop
* oop
---------
(cherry picked from commit c557606484)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
%global ver v1.55.0-test2
|
||||
%global download_ver %(echo %{ver} | sed 's/v//g')
|
||||
%global sanitized_ver %(echo %{ver} | sed 's/-//g')
|
||||
|
||||
Name: socktop
|
||||
@@ -6,7 +7,7 @@ Version: %sanitized_ver
|
||||
Release: 1%?dist
|
||||
Summary: socktop is a remote system monitor with a rich TUI interface
|
||||
URL: https://github.com/jasonwitty/socktop
|
||||
Source0: %{url}/archive/refs/tags/v%{ver}.tar.gz
|
||||
Source0: %{url}/archive/refs/tags/%{ver}.tar.gz
|
||||
License: MIT
|
||||
BuildRequires: rust libdrm-devel systemd-rpm-macros cargo-rpm-macros
|
||||
Requires: libdrm
|
||||
@@ -17,7 +18,7 @@ socktop is a remote system monitor with a rich TUI interface, inspired by `top`
|
||||
that communicates with a lightweight remote agent over WebSockets.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{ver}
|
||||
%autosetup -n %{name}-%{download_ver}
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user