# Generated by rust2rpm 24 %bcond_without check %global crate trim-cfg Name: rust-trim-cfg Version: 0.1.0 Release: 4 Summary: # FIXME License: MIT URL: https://crates.io/crates/trim-cfg Source: %{name}-%{version}.tar.gz BuildRequires: rust-packaging >= 21 %global _description %{expand: %{summary}.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} # FIXME: no license files detected %{_bindir}/trim-cfg %prep %autosetup -n %{name}-%{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 * Wed May 17 2023 Tzuchieh Lin 0.1.0-4 - fix spec (zjlin@zjlin.org) * Wed May 17 2023 Tzuchieh Lin 0.1.0-3 - fix spec (zjlin@zjlin.org) * Wed May 17 2023 Tzuchieh Lin 0.1.0-2 - fix wrong source name (zjlin@zjlin.org) * Wed May 17 2023 Tzuchieh Lin - fix wrong source name (zjlin@zjlin.org) * Wed May 17 2023 Tzuchieh Lin 0.1.0-1 - new package built with tito %autochangelog