!5 nss-pem delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @zhujianwei001,@zhujianwei001 Signed-off-by: @zhujianwei001,@zhujianwei001
This commit is contained in:
commit
29beb37487
@ -1,12 +1,12 @@
|
||||
Name: nss-pem
|
||||
Version: 1.0.6
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: PEM file reader for Network Security Services (NSS)
|
||||
License: MPLv1.1
|
||||
URL: https://github.com/kdudka/nss-pem
|
||||
Source0: https://github.com/kdudka/nss-pem/releases/download/%{name}-%{version}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: cmake gcc nss-pkcs11-devel git
|
||||
BuildRequires: cmake gcc nss-pkcs11-devel
|
||||
Requires: nss%{?_isa} >= %(nss-config --version 2>/dev/null || echo 0)
|
||||
Conflicts: nss%{?_isa} < 3.24.0-3%{?dist}
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
@ -16,7 +16,7 @@ PEM file reader for Network Security Services (NSS), implemented as a PKCS#11
|
||||
module.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -DNSS_PKCS11_2_0_COMPAT"
|
||||
@ -41,6 +41,9 @@ popd
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.0.6-3
|
||||
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||
|
||||
* Fri Aug 7 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.0.6-2
|
||||
- Add -DNSS_PKCS11_2_0_COMPAT to solve build failure
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user