From 2b9ed7fbc703cbcbc9f41a44838367c1a46c1eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E5=96=84=E5=BA=86?= Date: Thu, 17 Feb 2022 07:36:46 +0000 Subject: [PATCH] add subpackage perl init --- openssl.spec | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/openssl.spec b/openssl.spec index 5e0b257..519a9e4 100644 --- a/openssl.spec +++ b/openssl.spec @@ -2,7 +2,7 @@ Name: openssl Epoch: 1 Version: 1.1.1f -Release: 9 +Release: 10 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay URL: https://www.openssl.org/ @@ -38,10 +38,7 @@ Patch27: backport-pkcs12-check-for-zero-length-digest-to-avoid-divisio.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 @@ -62,6 +59,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} @@ -170,12 +177,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) @@ -210,7 +212,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 - 1:1.1.1f-10 +- add subpackage perl + * Sat Dec 25 2021 steven_ygui - 1:1.1.1f-9 - backport upstream patches -- Gitee