Группа :: Сети/Прочее
Пакет: gping
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_with check
Name: gping
Version: 1.8.0
Release: alt1
Summary: Ping, but with a graph
License: MIT
Group: Networking/Other
Url: https://github.com/orf/gping
Source: %name-%version.tar
BuildRequires: rust-cargo
%if_with check
BuildRequires: iputils
%endif
%description
%summary.
%prep
%setup
mkdir -p .cargo
cat >> .cargo/config <<EOF
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
%build
cargo build --offline --release
%install
install -Dm 0755 target/release/%name %buildroot%_bindir/%name
%check
cargo test
%files
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Name: gping
Version: 1.8.0
Release: alt1
Summary: Ping, but with a graph
License: MIT
Group: Networking/Other
Url: https://github.com/orf/gping
Source: %name-%version.tar
BuildRequires: rust-cargo
%if_with check
BuildRequires: iputils
%endif
%description
%summary.
%prep
%setup
mkdir -p .cargo
cat >> .cargo/config <<EOF
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
%build
cargo build --offline --release
%install
install -Dm 0755 target/release/%name %buildroot%_bindir/%name
%check
cargo test
%files
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь