!80 add subpackage perl
From: @fu-shanqing Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
2d929d1b1a
40
openssl.spec
40
openssl.spec
@ -2,7 +2,7 @@
|
||||
Name: openssl
|
||||
Epoch: 1
|
||||
Version: 1.1.1m
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Cryptography and SSL/TLS Toolkit
|
||||
License: OpenSSL and SSLeay
|
||||
URL: https://www.openssl.org/
|
||||
@ -12,11 +12,7 @@ Patch1: openssl-1.1.1-build.patch
|
||||
Patch2: openssl-1.1.1-fips.patch
|
||||
|
||||
BuildRequires: gcc perl make lksctp-tools-devel coreutils util-linux zlib-devel
|
||||
|
||||
Requires: coreutils perl %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: openssl-perl < %{epoch}:%{version}-%{release}
|
||||
Provides: openssl-perl = %{epoch}:%{version}-%{release}
|
||||
Provides: openssl-perl%{_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: coreutils %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description
|
||||
OpenSSL is a robust, commercial-grade, and full-featured toolkit for the
|
||||
@ -37,6 +33,16 @@ The openssl-libs package contains the libraries that are used
|
||||
by various applications which support cryptographic algorithms
|
||||
and protocols.
|
||||
|
||||
%package perl
|
||||
Summary: Perl scripts provided with OpenSSL
|
||||
Requires: perl-interpreter
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description perl
|
||||
OpenSSL is a toolkit for supporting cryptography. The openssl-perl
|
||||
package provides Perl scripts for converting certificates and keys
|
||||
from other formats to the formats used by the OpenSSL toolkit.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for openssl
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
@ -152,12 +158,7 @@ make test || :
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGES FAQ NEWS README
|
||||
%{_pkgdocdir}/Makefile.certificate
|
||||
%dir %{_sysconfdir}/pki/CA
|
||||
%dir %{_sysconfdir}/pki/CA/private
|
||||
%dir %{_sysconfdir}/pki/CA/certs
|
||||
%dir %{_sysconfdir}/pki/CA/crl
|
||||
%dir %{_sysconfdir}/pki/CA/newcerts
|
||||
%{_bindir}/*
|
||||
%{_bindir}/openssl
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
@ -192,7 +193,22 @@ make test || :
|
||||
%{_mandir}/man7/*
|
||||
%{_pkgdocdir}/html/
|
||||
|
||||
%files perl
|
||||
%{_bindir}/c_rehash
|
||||
%{_bindir}/*.pl
|
||||
%{_bindir}/tsget
|
||||
%dir %{_sysconfdir}/pki/CA
|
||||
%dir %{_sysconfdir}/pki/CA/private
|
||||
%dir %{_sysconfdir}/pki/CA/certs
|
||||
%dir %{_sysconfdir}/pki/CA/crl
|
||||
%dir %{_sysconfdir}/pki/CA/newcerts
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%changelog
|
||||
* Thu Feb 17 2022 fushanqing <fushanqing@kylinos.cn> - 1:1.1.1m-2
|
||||
- add subpackage openssl-perl
|
||||
|
||||
* Tue Dec 28 2021 Buildteam <buildteam@openeuler.org> - 1:1.1.1m-1
|
||||
- update openssl-1.1.1l to openssl-1.1.1m
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user