fix build error
This commit is contained in:
parent
c19ba8de62
commit
b0ea35dede
3
config_for_secure
Normal file
3
config_for_secure
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
rpm_name:libkae
|
||||||
|
sec_opt:-Wno-unused-result
|
||||||
|
fs_opt:
|
||||||
10
kae.spec
10
kae.spec
@ -3,7 +3,7 @@
|
|||||||
Name: libkae
|
Name: libkae
|
||||||
Summary: Huawei Kunpeng Accelerator Engine
|
Summary: Huawei Kunpeng Accelerator Engine
|
||||||
Version: 1.2.8
|
Version: 1.2.8
|
||||||
Release: 2
|
Release: 3
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Vendor: Huawei Corporation
|
Vendor: Huawei Corporation
|
||||||
@ -13,7 +13,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
Prefix: /usr/local/lib/engines-1.1
|
Prefix: /usr/local/lib/engines-1.1
|
||||||
Conflicts: %{name} < %{version}-%{release}
|
Conflicts: %{name} < %{version}-%{release}
|
||||||
Provides: %{name} = %{version}-%{release}
|
Provides: %{name} = %{version}-%{release}
|
||||||
BuildRequires: libwd >= %{version} openssl-devel
|
BuildRequires: libwd-devel >= %{version} libwd >= %{version}
|
||||||
|
BuildRequires: openssl-devel sed
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the Huawei Kunpeng Accelerator Engine
|
This package contains the Huawei Kunpeng Accelerator Engine
|
||||||
@ -29,7 +30,7 @@ make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
|
mkdir -p ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
|
||||||
install -b -m -755 KAE/libkae.so.%{version} ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
|
install -b -m755 KAE/libkae.so.%{version} ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -63,6 +64,9 @@ fi
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 03 2020 catastrowings <jianghuhao1994@163.com> 1.2.8-3
|
||||||
|
- fix build error
|
||||||
|
|
||||||
* Mon Jan 20 2020 catastrowings <jianghuhao1994@163.com> 1.2.7-2
|
* Mon Jan 20 2020 catastrowings <jianghuhao1994@163.com> 1.2.7-2
|
||||||
- compatible with openEuler
|
- compatible with openEuler
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user