diff --git a/swtpm-0.3.3.tar.gz b/swtpm-0.3.3.tar.gz deleted file mode 100644 index 8b019eb..0000000 Binary files a/swtpm-0.3.3.tar.gz and /dev/null differ diff --git a/swtpm-091be80.tar.gz b/swtpm-091be80.tar.gz new file mode 100644 index 0000000..154da13 Binary files /dev/null and b/swtpm-091be80.tar.gz differ diff --git a/swtpm.spec b/swtpm.spec index 915c271..c1ca157 100644 --- a/swtpm.spec +++ b/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 - 0.3.3-1 +* Tue Sep 15 2020 jiangfangjie - 0.3.3-2 +- update spec file and disable test case pkcs11 + +* Mon Aug 24 2020 jiangfangjie - 0.3.3-1 - Created initial version of rpm spec files - Version is now 0.3.3 --