Accepting request 567286 from home:michals
enable BE build OBS-URL: https://build.opensuse.org/request/show/567286 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=14
This commit is contained in:
parent
a37c14d9da
commit
67a94faa0b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 18 08:31:26 UTC 2018 - msuchanek@suse.com
|
||||||
|
|
||||||
|
- Enable bigendian build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 16 11:33:14 UTC 2018 - vcizek@suse.com
|
Tue Jan 16 11:33:14 UTC 2018 - vcizek@suse.com
|
||||||
|
|
||||||
|
@ -27,8 +27,11 @@ Group: Development/Tools/Other
|
|||||||
Url: https://sourceforge.net/projects/ibmswtpm2
|
Url: https://sourceforge.net/projects/ibmswtpm2
|
||||||
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
|
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
|
||||||
Patch1: makefile.patch
|
Patch1: makefile.patch
|
||||||
# FIXME this is broken on BE - upstream is waiting for current spec testing to finish before porting
|
%ifarch ppc ppc64 s390 s390x
|
||||||
ExcludeArch: ppc ppc64 s390 s390x
|
%define extra_ccflags -DBIG_ENDIAN_TPM=1
|
||||||
|
%else
|
||||||
|
%define extra_ccflags ""
|
||||||
|
%endif
|
||||||
BuildRequires: libopenssl-devel >= 1.0
|
BuildRequires: libopenssl-devel >= 1.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -49,7 +52,7 @@ implementation because of this specific interface.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
CCFLAGS="%{optflags}" make %{?_smp_mflags}
|
CCFLAGS="%{optflags} "%{extra_ccflags} make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd src
|
cd src
|
||||||
|
Loading…
Reference in New Issue
Block a user