%global debug_package %{nil} Name: escl-scan Version: 0.1.2 Release: 1%{?dist} Summary: Utility for scanning with eSCL protocol writen in Rust License: MPLv2.0 URL: https://github.com/ElXreno/escl-scan Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: openssl-devel %description Utility for scanning with eSCL protocol writen in Rust. %prep %autosetup %build pushd %{name}-cli cargo build --release --locked popd %install pushd %{name}-cli cargo install --root=%{buildroot}%{_prefix} --path=. --locked popd rm -f %{buildroot}%{_prefix}/.crates*.* %files %license LICENSE %doc README.md %{_bindir}/%{name}-cli %changelog * Fri Apr 24 2020 ElXreno - 0.1.2-1 - Updated to version 0.1.2 * Sun Dec 29 2019 ElXreno - 0.1.1-1 - Updated to version 0.1.1 * Thu Dec 26 2019 ElXreno - Initial packaging