Add -DNSS_PKCS11_2_0_COMPAT to solve build failure

This commit is contained in:
yang_zhuang_zhuang 2020-08-07 14:01:03 +08:00
parent b4831f7df3
commit 45e8addaae

View File

@ -1,6 +1,6 @@
Name: nss-pem
Version: 1.0.6
Release: 1
Release: 2
Summary: PEM file reader for Network Security Services (NSS)
License: MPLv1.1
URL: https://github.com/kdudka/nss-pem
@ -19,6 +19,7 @@ module.
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
export CFLAGS="%{optflags} -DNSS_PKCS11_2_0_COMPAT"
mkdir build
pushd build
%cmake ../src
@ -40,6 +41,9 @@ popd
%license COPYING
%changelog
* Fri Aug 7 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.0.6-2
- Add -DNSS_PKCS11_2_0_COMPAT to solve build failure
* Tue Jul 28 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.0.6-1
- update version to 1.0.6