Initial import
This commit is contained in:
parent
b0859a5418
commit
137e4ced8a
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/clevis-pin-tpm2-*.tar.gz
|
||||
55
clevis-pin-tpm2.spec
Normal file
55
clevis-pin-tpm2.spec
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user