forked from pool/ibmswtpm2
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:
@@ -27,8 +27,11 @@ Group: Development/Tools/Other
|
||||
Url: https://sourceforge.net/projects/ibmswtpm2
|
||||
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
|
||||
Patch1: makefile.patch
|
||||
# FIXME this is broken on BE - upstream is waiting for current spec testing to finish before porting
|
||||
ExcludeArch: ppc ppc64 s390 s390x
|
||||
%ifarch ppc ppc64 s390 s390x
|
||||
%define extra_ccflags -DBIG_ENDIAN_TPM=1
|
||||
%else
|
||||
%define extra_ccflags ""
|
||||
%endif
|
||||
BuildRequires: libopenssl-devel >= 1.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -49,7 +52,7 @@ implementation because of this specific interface.
|
||||
|
||||
%build
|
||||
cd src
|
||||
CCFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||
CCFLAGS="%{optflags} "%{extra_ccflags} make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd src
|
||||
|
Reference in New Issue
Block a user