Commit fce40fc5 authored by Rocky Automation's avatar Rocky Automation 📺
Browse files

import clevis-pin-tpm2-0.5.1-2.el9

parents
3cca4797cb447ec9414f5481c44291539d610de1 SOURCES/clevis-pin-tpm2-0.5.1.tar.gz
59bdc74ad0d54c73a1c3b2509361e52106f775c4 SOURCES/clevis-pin-tpm2-v0.5.1-vendor.tar.gz
SOURCES/clevis-pin-tpm2-0.5.1.tar.gz
SOURCES/clevis-pin-tpm2-v0.5.1-vendor.tar.gz
%bcond_without check
%global __cargo_skip_build 0
%global __cargo_is_lib() false
Name: clevis-pin-tpm2
Version: 0.5.1
Release: 2%{?dist}
Summary: Clevis PIN for unlocking with TPM2 supporting Authorized Policies
License: MIT
URL: https://github.com/fedora-iot/clevis-pin-tpm2/
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-v%{version}-vendor.tar.gz
ExclusiveArch: %{rust_arches}
# RHBZ 1869980
ExcludeArch: s390x i686 %{power64}
BuildRequires: rust-toolset
BuildRequires: tpm2-tss-devel
Requires: clevis
%description
%{summary}.
%prep
%autosetup -p1
%cargo_prep -V 1
%build
%cargo_build
%install
%cargo_install
ln -s /usr/bin/clevis-pin-tpm2 %{buildroot}/usr/bin/clevis-encrypt-tpm2plus
ln -s /usr/bin/clevis-pin-tpm2 %{buildroot}/usr/bin/clevis-decrypt-tpm2plus
%if %{with check}
%check
%cargo_test -- -- --skip real_ --skip loop_ --skip travis_
%endif
%files
%license LICENSE
%{_bindir}/clevis-pin-tpm2
%{_bindir}/clevis-*-tpm2plus
%changelog
* Fri Dec 10 2021 Antonio Murdaca <runcom@linux.com> - 0.5.1-2
- rebuilt to disable annocheck for Rust code
* Thu Dec 09 2021 Antonio Murdaca <runcom@linux.com> - 0.5.1-1
- rebuilt to add gating and relicense to MIT
* Thu Dec 09 2021 Antonio Murdaca <runcom@linux.com> - 0.5.0-1
- bump to 0.5.0
* Mon Oct 4 2021 Antonio Murdaca <amurdaca@redhat.com> - 0.4.1-1
- import in c9s and rhel9
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Apr 06 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.0-1
- Update to 0.3.0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Dec 3 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.2.0-1
- Update to 0.2.0
* Tue Nov 10 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.1.4-1
- Update to 0.1.4
* Sat Aug 29 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.1.3-1
- Update to 0.1.3
* Tue Aug 25 2020 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.1.2-2
- Add symlink to clevis-{en,de}crypt-tpm2plus
* 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment