5 Star 0 Fork 5

openEuler/rhostname

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rhostname.spec 685 Bytes
一键复制 编辑 原始数据 按行查看 历史
Name: rhostname
Version: 0.1.0
Release: 1%{?dist}
Summary: A tool used to perform a series of operations on usernames. It is a reconstruction of the hostname command using Rust.
License: MulanPSL2
URL: https://gitee.com/openeuler/rhostname
Source0: %{name}-%{version}.tar.gz
%description
The `rhostname` project reimplements the classic `hostname` tool in Rust. It is used to display the system's DNS name, and to display or set its hostname or NIS domain name.
%prep
%autosetup
%build
cargo build --release
%install
install -D -m 0755 target/release/rhostname %{buildroot}/%{_bindir}/rhostname
%files
%{_bindir}/rhostname
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/rhostname.git
[email protected]:openeuler/rhostname.git
openeuler
rhostname
rhostname
master

搜索帮助