add subpackage perl
This commit is contained in:
parent
6d42048606
commit
6c0fbdf5e0
40
openssl.spec
40
openssl.spec
@ -2,7 +2,7 @@
|
|||||||
Name: openssl
|
Name: openssl
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.1.1m
|
Version: 1.1.1m
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Cryptography and SSL/TLS Toolkit
|
Summary: Cryptography and SSL/TLS Toolkit
|
||||||
License: OpenSSL and SSLeay
|
License: OpenSSL and SSLeay
|
||||||
URL: https://www.openssl.org/
|
URL: https://www.openssl.org/
|
||||||
@ -12,11 +12,7 @@ Patch1: openssl-1.1.1-build.patch
|
|||||||
Patch2: openssl-1.1.1-fips.patch
|
Patch2: openssl-1.1.1-fips.patch
|
||||||
|
|
||||||
BuildRequires: gcc perl make lksctp-tools-devel coreutils util-linux zlib-devel
|
BuildRequires: gcc perl make lksctp-tools-devel coreutils util-linux zlib-devel
|
||||||
|
Requires: coreutils %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
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}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenSSL is a robust, commercial-grade, and full-featured toolkit for the
|
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
|
by various applications which support cryptographic algorithms
|
||||||
and protocols.
|
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
|
%package devel
|
||||||
Summary: Development files for openssl
|
Summary: Development files for openssl
|
||||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
@ -152,12 +158,7 @@ make test || :
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS CHANGES FAQ NEWS README
|
%doc AUTHORS CHANGES FAQ NEWS README
|
||||||
%{_pkgdocdir}/Makefile.certificate
|
%{_pkgdocdir}/Makefile.certificate
|
||||||
%dir %{_sysconfdir}/pki/CA
|
%{_bindir}/openssl
|
||||||
%dir %{_sysconfdir}/pki/CA/private
|
|
||||||
%dir %{_sysconfdir}/pki/CA/certs
|
|
||||||
%dir %{_sysconfdir}/pki/CA/crl
|
|
||||||
%dir %{_sysconfdir}/pki/CA/newcerts
|
|
||||||
%{_bindir}/*
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -192,7 +193,22 @@ make test || :
|
|||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
%{_pkgdocdir}/html/
|
%{_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
|
%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
|
* Tue Dec 28 2021 Buildteam <buildteam@openeuler.org> - 1:1.1.1m-1
|
||||||
- update openssl-1.1.1l to openssl-1.1.1m
|
- update openssl-1.1.1l to openssl-1.1.1m
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user