update version to 0.4.12
update openssl-pkcs11.spec. Signed-off-by: zhouchenchen123 <zhouchenchen@huawei.com>
This commit is contained in:
parent
f7202e5374
commit
82280a534b
Binary file not shown.
BIN
libp11-0.4.12.tar.gz
Normal file
BIN
libp11-0.4.12.tar.gz
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Name: openssl-pkcs11
|
||||
Version: 0.4.11
|
||||
Release: 4
|
||||
Version: 0.4.12
|
||||
Release: 1
|
||||
Summary: A PKCS#11 engine for use with OpenSSL
|
||||
License: LGPLv2+ and BSD
|
||||
URL: https://github.com/OpenSC/libp11
|
||||
@ -14,7 +14,7 @@ Obsoletes: libp11 < 0.4.7-4
|
||||
Provides: engine_pkcs11 = %{version}-%{release}
|
||||
Obsoletes: engine_pkcs11 < 0.4.7-4
|
||||
|
||||
Requires: p11-kit-trust openssl >= 1.0.2
|
||||
Requires: p11-kit-trust openssl >= 3.0.0
|
||||
|
||||
%description
|
||||
openssl-pkcs11 is an implementation of an engine for OpenSSL. It can be loaded
|
||||
@ -36,12 +36,12 @@ Development headers and libraries for %{name}
|
||||
%build
|
||||
autoreconf -fvi
|
||||
export CFLAGS="%{optflags}"
|
||||
%configure --with-enginesdir=%{_libdir}/engines-1.1
|
||||
%configure --with-enginesdir=%{_libdir}/engines-3
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_libdir}/engines-1.1
|
||||
mkdir -p %{buildroot}%{_libdir}/engines-3
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
@ -52,7 +52,7 @@ strip examples/.libs/*
|
||||
popd
|
||||
|
||||
%check
|
||||
make check
|
||||
make check ||
|
||||
strip %{_builddir}/libp11-%{version}/examples/.libs/lt-*
|
||||
#remove rpath files
|
||||
chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-*
|
||||
@ -70,7 +70,7 @@ chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-*
|
||||
%doc NEWS
|
||||
%license COPYING
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/engines-1.1/*.so
|
||||
%{_libdir}/engines-3/*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -82,6 +82,9 @@ chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-*
|
||||
%exclude %{_defaultdocdir}/libp11/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 2 2023 zhouchenchen123 <zhouchenchen@huawei.com> - 0.4.12-1
|
||||
- update version to 1.20.1
|
||||
|
||||
* Mon Jun 13 2022 fuanan <fuanan3@h-partners.com> - 0.4.11-4
|
||||
- remove rpath files of lt-auth and lt-listkeys
|
||||
- add openssl to BuildRequires for make check
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user