SHA256
1
0
forked from pool/ibmswtpm2

Accepting request 713487 from home:michals

- Update to upstream version 1332
  * fixes build of ibmtpm v1470
  * add ibmswtpm2-fix-uninitialized.patch
  * run through spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/713487
OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=16
This commit is contained in:
2019-07-07 13:41:20 +00:00
committed by Git OBS Bridge
parent 67a94faa0b
commit 24ef90c9aa
5 changed files with 46 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ibmswtpm2
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define suite ibmtss
Name: ibmswtpm2
Version: 1119
Release: 0
Summary: IBM's Software TPM 2.0
License: BSD-3-Clause
Group: Development/Tools/Other
Url: https://sourceforge.net/projects/ibmswtpm2
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
Patch1: makefile.patch
%ifarch ppc ppc64 s390 s390x
%define extra_ccflags -DBIG_ENDIAN_TPM=1
%else
%define extra_ccflags ""
%endif
Name: ibmswtpm2
Version: 1332
Release: 0
Summary: IBM's Software TPM 2.0
License: BSD-3-Clause
Group: Development/Tools/Other
URL: https://sourceforge.net/projects/ibmswtpm2
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
Patch1: makefile.patch
Patch2: ibmswtpm2-fix-uninitialized.patch
BuildRequires: libopenssl-devel >= 1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
An implementation of the TCG TPM 2.0 specification. It is based on
@@ -47,8 +48,8 @@ It is probably not of much use other than testing the IBM TSS
implementation because of this specific interface.
%prep
%setup -c -q
%patch1 -p 1
%setup -q -c
%autopatch -p 1
%build
cd src
@@ -59,7 +60,6 @@ cd src
install -m 755 -D -t %{buildroot}/%{_libexecdir}/%{suite} tpm_server
%files
%defattr(-,root,root)
%dir %{_libexecdir}/%{suite}
%{_libexecdir}/%{suite}/tpm_server
%doc ibmtpm.doc