update spec file and disable test case pkcs11
Signed-off-by: jiangfangjie <jiangfangjie@huawei.com>
This commit is contained in:
parent
8978e83da5
commit
1880520470
Binary file not shown.
BIN
swtpm-091be80.tar.gz
Normal file
BIN
swtpm-091be80.tar.gz
Normal file
Binary file not shown.
17
swtpm.spec
17
swtpm.spec
@ -1,5 +1,8 @@
|
||||
%bcond_without gnutls
|
||||
|
||||
%global gitdate 20200710
|
||||
%global gitcommit 091be8054b5863ff86c5efcb072dcdd45e3696d1
|
||||
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
||||
|
||||
# Macros needed by SELinux
|
||||
%global selinuxtype targeted
|
||||
@ -9,10 +12,10 @@
|
||||
Summary: TPM Emulator
|
||||
Name: swtpm
|
||||
Version: 0.3.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: BSD
|
||||
Url: http://github.com/stefanberger/swtpm
|
||||
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
||||
Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz
|
||||
|
||||
BuildRequires: automake
|
||||
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
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%autosetup -n %{name}-%{gitcommit}
|
||||
|
||||
%build
|
||||
|
||||
@ -157,10 +160,12 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/swtpm-localca.conf
|
||||
%dir %{_datadir}/swtpm
|
||||
%{_datadir}/swtpm/swtpm-localca
|
||||
%attr( 755, @TSS_USER@, @TSS_GROUP@) %{_localstatedir}/lib/swtpm-localca
|
||||
%attr( 755, tss, tss) %{_localstatedir}/lib/swtpm-localca
|
||||
|
||||
%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
|
||||
- Version is now 0.3.3
|
||||
-
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user