# rust-sensorhive-fbp.spec # Generated by rust2rpm 24 %bcond_without check %global crate sensorhive-fbp Name: rust-sensorhive-fbp Version: 0.1.0 Release: %autorelease Summary: Sensor Hive First Boot Provisioner License: MIT URL: https://crates.io/crates/sensorhive-fbp Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Sensor Hive First Boot Provisioner.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license target/package/sensorhive-fbp-0.1.0/LICENSE %doc README.md %{_bindir}/sensorhive-fbp %{_bindir}/sensorhive-fbpd %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