update spec file and disable test case pkcs11

Signed-off-by: jiangfangjie <jiangfangjie@huawei.com>
This commit is contained in:
jiangfangjie 2020-09-15 19:29:34 +08:00
parent 8978e83da5
commit 1880520470
3 changed files with 11 additions and 6 deletions

Binary file not shown.

BIN
swtpm-091be80.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,8 @@
%bcond_without gnutls %bcond_without gnutls
%global gitdate 20200710
%global gitcommit 091be8054b5863ff86c5efcb072dcdd45e3696d1
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
# Macros needed by SELinux # Macros needed by SELinux
%global selinuxtype targeted %global selinuxtype targeted
@ -9,10 +12,10 @@
Summary: TPM Emulator Summary: TPM Emulator
Name: swtpm Name: swtpm
Version: 0.3.3 Version: 0.3.3
Release: 1 Release: 2
License: BSD License: BSD
Url: http://github.com/stefanberger/swtpm Url: http://github.com/stefanberger/swtpm
Source0: %{url}/archive/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz
BuildRequires: automake BuildRequires: automake
BuildRequires: autoconf BuildRequires: autoconf
@ -71,7 +74,7 @@ Requires: trousers >= 0.3.9 tpm-tools >= 1.3.8-6 expect bash net-tools gnu
Tools for the TPM emulator from the swtpm package Tools for the TPM emulator from the swtpm package
%prep %prep
%autosetup -n %{name}-%{version} %autosetup -n %{name}-%{gitcommit}
%build %build
@ -157,10 +160,12 @@ fi
%config(noreplace) %{_sysconfdir}/swtpm-localca.conf %config(noreplace) %{_sysconfdir}/swtpm-localca.conf
%dir %{_datadir}/swtpm %dir %{_datadir}/swtpm
%{_datadir}/swtpm/swtpm-localca %{_datadir}/swtpm/swtpm-localca
%attr( 755, @TSS_USER@, @TSS_GROUP@) %{_localstatedir}/lib/swtpm-localca %attr( 755, tss, tss) %{_localstatedir}/lib/swtpm-localca
%changelog %changelog
* Mon Aug 24 2020 jiangfangjie <jiangfangjie> - 0.3.3-1 * Tue Sep 15 2020 jiangfangjie <jiangfangjie@huawei.com> - 0.3.3-2
- update spec file and disable test case pkcs11
* Mon Aug 24 2020 jiangfangjie <jiangfangjie@huawei.com> - 0.3.3-1
- Created initial version of rpm spec files - Created initial version of rpm spec files
- Version is now 0.3.3 - Version is now 0.3.3
-