60 lines
1.6 KiB
RPMSpec
60 lines
1.6 KiB
RPMSpec
|
|
Name: perl-Mozilla-CA
|
||
|
|
Epoch: 1
|
||
|
|
Version: 20180117
|
||
|
|
Release: 3
|
||
|
|
Summary: Mozilla's CA cert bundle in PEM format
|
||
|
|
License: MPLv2.0
|
||
|
|
URL: https://metacpan.org/release/Mozilla-CA
|
||
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-%{version}.tar.gz
|
||
|
|
# See <https://bugzilla.redhat.com/show_bug.cgi?id=738383> for more
|
||
|
|
Patch6000: Mozilla-CA-20180117-Redirect-to-ca-certificates-bundle.patch
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: make coreutils perl perl-generators perl-PathTools perl-ExtUtils-MakeMaker
|
||
|
|
Requires: perl perl-PathTools ca-certificates
|
||
|
|
|
||
|
|
%description
|
||
|
|
Mozilla::CA provides a copy of Mozilla's bundle of Certificate
|
||
|
|
Authority certificates in a form that can be consumed by modules
|
||
|
|
and libraries based on OpenSSL.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Man page for Mozilla::CA
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description help
|
||
|
|
This package provide %{summary}.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n Mozilla-CA-%{version} -p1
|
||
|
|
rm -vf lib/Mozilla/CA/cacert.pem mk-ca-bundle.pl
|
||
|
|
sed -i '/^mk-ca-bundle.pl$/d' MANIFEST
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
|
||
|
|
%check
|
||
|
|
make test
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc Changes README
|
||
|
|
%{perl_vendorlib}/*
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/man3/*
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:20180117-3
|
||
|
|
- Adjust requires
|
||
|
|
|
||
|
|
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:20180117-2
|
||
|
|
- Delete redundant information
|
||
|
|
|
||
|
|
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:20180117-1
|
||
|
|
- Package init
|