|
|
@ -1,5 +1,5 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
## (rpmautospec version 0.5.1)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
release_number = 1;
|
|
|
|
release_number = 1;
|
|
|
@ -14,7 +14,7 @@
|
|
|
|
%global crate procs
|
|
|
|
%global crate procs
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-procs
|
|
|
|
Name: rust-procs
|
|
|
|
Version: 0.14.1
|
|
|
|
Version: 0.14.4
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Modern replacement for ps
|
|
|
|
Summary: Modern replacement for ps
|
|
|
|
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ Patch: procs-fix-metadata-auto.diff
|
|
|
|
# * remove docker feature / dockworker dependency
|
|
|
|
# * remove docker feature / dockworker dependency
|
|
|
|
Patch: procs-fix-metadata.diff
|
|
|
|
Patch: procs-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 23
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A modern replacement for ps.}
|
|
|
|
A modern replacement for ps.}
|
|
|
@ -58,6 +58,9 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/procs
|
|
|
|
%{_bindir}/procs
|
|
|
|
|
|
|
|
%{bash_completions_dir}/procs.bash
|
|
|
|
|
|
|
|
%{fish_completions_dir}/procs.fish
|
|
|
|
|
|
|
|
%{zsh_completions_dir}/_procs
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
@ -74,12 +77,30 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# generate and install shell completions
|
|
|
|
|
|
|
|
target/rpm/procs --gen-completion-out bash > procs.bash
|
|
|
|
|
|
|
|
target/rpm/procs --gen-completion-out fish > procs.fish
|
|
|
|
|
|
|
|
target/rpm/procs --gen-completion-out zsh > _procs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -Dpm 0644 procs.bash -t %{buildroot}/%{bash_completions_dir}
|
|
|
|
|
|
|
|
install -Dpm 0644 procs.fish -t %{buildroot}/%{fish_completions_dir}
|
|
|
|
|
|
|
|
install -Dpm 0644 _procs -t %{buildroot}/%{zsh_completions_dir}
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fabio Valentini <decathorpe@gmail.com> - 0.14.4-1
|
|
|
|
|
|
|
|
- Update to version 0.14.4; Fixes RHBZ#2244800
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.14.1-2
|
|
|
|
|
|
|
|
- Install shell completion support system-wide
|
|
|
|
|
|
|
|
- Supported shells (for system-wide completion) are bash, fish, and zsh;
|
|
|
|
|
|
|
|
procs can also generate completions for elvish and powershell.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.14.1-1
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.14.1-1
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
@ -155,3 +176,4 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-
|
|
|
|
* Tue Feb 18 13:11:48 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.9.11-1
|
|
|
|
* Tue Feb 18 13:11:48 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.9.11-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|