tpm2-pkcs11-0-0.3.20191011git0b7ceff

This commit is contained in:
Jakub Jelen 2019-10-11 11:02:55 +02:00
parent f2e503018c
commit 8714fb40ed
3 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/tpm2-pkcs11-0-git836d715.tar.gz
/tpm2-pkcs11-0-git1e84553.tar.gz
/tpm2-pkcs11-0-git2f3058c.tar.gz
/tpm2-pkcs11-0-git0b7ceff.tar.gz

View File

@ -1 +1 @@
SHA512 (tpm2-pkcs11-0-git2f3058c.tar.gz) = 8ebb9de8ef06951f482153838facc9d8ad767f44e1deb06b708b5fe0fd41178357eb95d3e045c282c98d6b328af744e28810ff274469cfafa70050822e00e74a
SHA512 (tpm2-pkcs11-0-git0b7ceff.tar.gz) = b2a373e2e497c432ea981f7ffd49f0182416a7afc661a176eac953ac4c3eb991518ccb7d6a2ed72a64113b8fa145903a3646c85422d3431c907bc443f5fa2635

View File

@ -1,9 +1,9 @@
%global commit0 2f3058c632ad0f1c2fe9d8f1ff7ba1bb4a9c63c8
%global commit0 0b7ceffb81dc5d9863fa6e4bdae5cf393dfd038a
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: tpm2-pkcs11
Version: 0
Release: 0.7.20190813git%{shortcommit0}%{?dist}
Release: 0.8.20191011git%{shortcommit0}%{?dist}
Summary: PKCS#11 interface for TPM 2.0 hardware
License: BSD
@ -31,6 +31,9 @@ BuildRequires: python3-pyyaml
BuildRequires: python3-cryptography
%package tools
# Automatic generator does not work for me even though the requires.txt is in place
Requires: python3-pyyaml
Requires: python3-cryptography
Summary: The tools required to setup and configure TPM2 for PKCS#11
%description
@ -64,6 +67,8 @@ cd tools
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/tpm2-pkcs11.pc
[ -f $RPM_BUILD_ROOT%{_libdir}/pkcs11/libtpm2_pkcs11.la ] && \
rm $RPM_BUILD_ROOT%{_libdir}/pkcs11/libtpm2_pkcs11.la
[ -f $RPM_BUILD_ROOT%{_libdir}/pkcs11/libtpm2_pkcs11.a ] && \
rm $RPM_BUILD_ROOT%{_libdir}/pkcs11/libtpm2_pkcs11.a
cd tools
%py3_install
sed -i "s/python/python3/g" tpm2_ptool
@ -83,6 +88,10 @@ install -Dpm 755 tpm2_ptool $RPM_BUILD_ROOT%{_bindir}/tpm2_ptool
%changelog
* Fri Oct 11 2019 Jakub Jelen <jjelen@redhat.com> - 0-0.3.20191011git0b7ceff
- Update to current git version
- Fix missing requires (#1757179)
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0-0.7.20190813git2f3058c
- Rebuilt for Python 3.8.0rc1 (#1748018)