# Generated by rust2rpm %bcond_without check %global __cargo_skip_build 0 %global __cargo_is_lib() false Name: clevis-pin-tpm2 Version: 0.1.2 Release: 1%{?dist} Summary: Clevis PIN for unlocking with TPM2 supporting Authorized Policies License: EUPL 1.2 URL: https://github.com/fedora-iot/clevis-pin-tpm2/ Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz ExclusiveArch: %{rust_arches} # RHBZ 1869980 ExcludeArch: s390x %{power64} BuildRequires: rust-packaging Requires: clevis %description %{summary}. %prep %autosetup -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test -- -- --skip real_ --skip loop_ --skip travis_ %endif %files %license LICENSE %{_bindir}/clevis-pin-tpm2 %changelog * Fri Aug 21 2020 Peter Robinson - 0.1.2-1 - Update to 0.1.2 * Thu Aug 13 2020 Peter Robinson - 0.1.1-1 - Update to 0.1.1 * Mon Aug 3 2020 Peter Robinson 0.0.1-1 - Initial release