# rust-sensorhive-idw.spec # Generated by rust2rpm 24 %bcond_without check %global crate sensorhive-idw Name: rust-sensorhive-idw Version: 0.1.0 Release: %autorelease Summary: Sensor Hive Initial Disk Writer License: MIT URL: https://crates.io/crates/sensorhive-idw Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Sensor Hive Initial Disk Writer.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc README.md %{_bindir}/sensorhive-idw %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog