Initial import

This commit is contained in:
Peter Robinson 2020-08-24 11:37:44 +01:00
parent b0859a5418
commit 137e4ced8a
3 changed files with 57 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/clevis-pin-tpm2-*.tar.gz

55
clevis-pin-tpm2.spec Normal file
View File

@ -0,0 +1,55 @@
# 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 <pbrobinson@fedoraproject.org> - 0.1.2-1
- Update to 0.1.2
* Thu Aug 13 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.1.1-1
- Update to 0.1.1
* Mon Aug 3 2020 Peter Robinson <pbrobinson@fedoraproject.org> 0.0.1-1
- Initial release

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (clevis-pin-tpm2-0.1.2.tar.gz) = c23983c38ea25e05c489fd6a41d00b4f3b75274edbc3fbb477d72e80d6e944fcb5e34eed99294c2b4d71bee6ccd06c71c061fb4e825cf1a22085117015942b82