Compare commits

..

No commits in common. "a518800bd2de120e3eb5f70673945a8e8904e168" and "62803a4ce61e1d8daa86e81e975b95517362550e" have entirely different histories.

3 changed files with 5 additions and 24 deletions

BIN
nss-pem-1.0.4.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: nss-pem
Version: 1.1.0
Release: 1
Version: 1.0.4
Release: 2
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
BuildRequires: cmake gcc nss-pkcs11-devel git
Requires: nss%{?_isa} >= %(nss-config --version 2>/dev/null || echo 0)
Conflicts: nss%{?_isa} < 3.24.0-3%{?dist}
Obsoletes: %{name} < %{version}-%{release}
@ -16,10 +16,9 @@ PEM file reader for Network Security Services (NSS), implemented as a PKCS#11
module.
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
export CFLAGS="%{optflags} -DNSS_PKCS11_2_0_COMPAT"
mkdir build
pushd build
%cmake ../src
@ -38,26 +37,8 @@ popd
%files
%{_libdir}/libnsspem.so
%license COPYING.{GPL,MPL}
%license COPYING
%changelog
* Fri Jul 14 2023 niuyaru <niuyaru@kylinos.cn> - 1.1.0-1
- update version to 1.1.0
* Fri Dec 31 2021 panxiaohe <panxiaohe@huawei.com> - 1.0.8-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.0.8
* 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
* Tue Jul 28 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.0.6-1
- update version to 1.0.6
* Thu Aug 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.4-2
- Package init