Accepting request 1046010 from home:jlkDE

- Apply current rust service template
- Change source compress algorithm
- Use cargo test for check stage
- Update to version 0.7.0

OBS-URL: https://build.opensuse.org/request/show/1046010
OBS-URL: https://build.opensuse.org/package/show/utilities/bottom?expand=0&rev=23
This commit is contained in:
JL K 2023-01-01 16:51:42 +00:00 committed by Git OBS Bridge
parent 60e8f0f39a
commit 7b2be891ec
8 changed files with 92 additions and 13 deletions

View File

@ -1,5 +1,27 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/ClementTsang/bottom.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">0.7.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">opensuse-packages@jlk.one</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">bottom-0.6.8</param>
<param name="srcdir">bottom</param>
<param name="update">true</param>
<param name="compression">zst</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">bottom</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ClementTsang/bottom.git</param>
<param name="changesrevision">4d5a58c3eced02189b70ecfdae4dc600b98d20c2</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e4eb251972a7af8c46dd36bcf1335fea334fb670569434fbfd594208905b2d9
size 7806719

3
bottom-0.7.0~0.tar.zst Normal file
View File

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

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Sun Jan 1 16:31:08 UTC 2023 - Jan-Luca Kiok <me@jlk.one>
- Add build dependency to zstd compression tool
-------------------------------------------------------------------
Sun Jan 1 15:45:48 UTC 2023 - Jan-Luca Kiok <me@jlk.one>
- Apply current rust service template
- Change source compress algorithm
- Use cargo test for check stage
- Update to version 0.7.0:
* Bug Fixes
+ Fix building in Rust beta 1.61 due to `as_ref()` calls
causing type inference issues.
+ Fix clicking on empty space in tables selecting the very last
entry of a list in some cases.
+ Fix panic if battery feature was disabled during compilation.
+ Fix bottom keeping devices awake in certain scenarios
+ Use alternative method of getting parent PID in some cases on
macOS devices to avoid needing root access.
+ Fix possible gaps with widget layout spacing.
+ Fix search scrolling with wider Unicode characters.
* Changes
+ Add some colour to `-h`/`--help` as part of updating to clap
3.0.
+ Add ARM musl binary build tasks.
+ Add more human friendly temperature sensor names for Linux
+ Add macOS M1, FreeBSD 12, and FreeBSD 13 binary build tasks.
+ Improve CPU usage by optimizing draw logic of charts and
tables.
* Features
+ Add support for NVIDIA GPU temperature sensors
+ Add a check for whether bottom is being run in a terminal.
+ Add FreeBSD support
+ Add half page scrolling with `ctrl-u` and `ctrl-d`
+ Add ZFS ARC support
+ Add GPU memory support for NVIDIA GPUs
+ Update sysinfo to support M1 macOS temperature sensors.
+ Add CLI options for GPU memory
+ Add page up/page down support for the help screen
+ Make temperature widget sortable.
+ Make disk widget sortable.
+ Add pasting to the search bar.
+ Add custom retention periods for data.
+ Add non-normalized CPU usage to processes
+ Add an option to expand the default widget on startup
* Other
+ Fix dead links in docs
-------------------------------------------------------------------
Mon Jun 20 03:36:55 UTC 2022 - William Brown <william.brown@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package bottom
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@ -18,17 +18,17 @@
Name: bottom
Version: 0.6.8
Version: 0.7.0~0
Release: 0
Summary: Yet another graphical process/system monitor
License: MIT
Group: System/Monitoring
URL: https://github.com/ClementTsang/bottom
Source: https://github.com/ClementTsang/bottom/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Source: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo >= 1.58
BuildRequires: rust
BuildRequires: cargo-packaging
BuildRequires: zstd
%description
A cross-platform graphical process/system monitor with a
@ -44,6 +44,9 @@ cargo build --release --locked %{?_smp_mflags}
%install
cargo install --no-track --root=%{buildroot}%{_prefix} --path .
%check
%{cargo_test}
%files
%license LICENSE
%doc CHANGELOG.md README.md

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55ba4568f8197fc77aa6deb3b49b1ed71c31eaae483de732f9fc869fbd89a02a
size 9909028

3
vendor.tar.zst Normal file
View File

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