perl-Mozilla-CA/perl-Mozilla-CA.spec

87 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

%define mod_name Mozilla-CA
Name: perl-%{mod_name}
2019-09-30 11:12:55 -04:00
Epoch: 1
2024-01-26 19:32:00 +08:00
Version: 20231213
Release: 1
2019-09-30 11:12:55 -04:00
Summary: Mozilla's CA cert bundle in PEM format
License: MPLv2.0
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/%{mod_name}-%{version}.tar.gz
2019-09-30 11:12:55 -04:00
BuildArch: noarch
2020-02-11 14:10:42 +08:00
# For check failure
2024-01-26 19:32:00 +08:00
Patch0: Mozilla-CA-20231213-Redirect-to-ca-certificates-bundle.patch
2020-02-11 14:10:42 +08:00
2019-09-30 11:12:55 -04:00
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 %{mod_name}-%{version} -p1
2019-09-30 11:12:55 -04:00
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
2020-02-11 14:10:42 +08:00
make test
2019-09-30 11:12:55 -04:00
%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
2024-01-26 19:32:00 +08:00
* Tue Jan 30 2024 zhangyao <zhangyao108@huawei.com> - 1:20231213-1
- Upgrade version to 20231213
- Update certificates
- Stop installing mk-ca-bundle.pl script
- Switched tests from Test to Test::More
* Wed Oct 26 2022 wangyuhang <wangyuhang27@huawei.com> - 1:20211001-2
- define mod_name to opitomize the specfile
* Tue Dec 21 2021 shangyibin <shangyibin1@huawei.com> - 1:20211001-1
2021-12-02 18:52:01 +08:00
- update to 20211001-1
2022-08-26 10:41:20 +08:00
* Wed Jul 29 2020 shixuantong <shixuantong@huawei.com> - 1:20200520-1
2020-07-29 15:58:31 +08:00
- update to 20200520-1
2020-02-11 14:10:42 +08:00
* Tue Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:20180117-6
- add patch for test failure
2020-01-22 12:13:41 +08:00
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:20180117-5
- cancel make check
2020-01-12 14:32:09 +08:00
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:20180117-4
- Delete redundant file
2019-09-30 11:12:55 -04:00
* 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