perl-Mozilla-CA/perl-Mozilla-CA.spec
Dirk Stoecker 6eb2444a1f Accepting request 1108659 from devel:languages:perl:autoupdate
- updated to 20230821
   see /usr/share/doc/packages/perl-Mozilla-CA/Changes
  20230821
    - Update from Mozilla repository to 2023-08-21
    - Added certificates:
      - Atos TrustedRoot Root CA ECC TLS 2021
        sha256: b2fae53e14ccd7ab9212064701ae279c1d8988facb775fa8a008914e663988a8
      - Atos TrustedRoot Root CA RSA TLS 2021
        sha256: 81a9088ea59fb364c548a6f85559099b6f0405efbf18e5324ec9f457ba00112f
      - SSL.com TLS ECC Root CA 2022
        sha256: c32ffd9f46f936d16c3673990959434b9ad60aafbb9e7cf33654f144cc1ba143
      - SSL.com TLS RSA Root CA 2022
        sha256: 8faf7d2e2cb4709bb8e0b33666bf75a5dd45b5de480f8ea8d4bfe6bebc17f2ed
      - Sectigo Public Server Authentication Root E46
        sha256: c90f26f0fb1b4018b22227519b5ca2b53e2ca5b3be5cf18efe1bef47380c5383
      - Sectigo Public Server Authentication Root R46
        sha256: 7bb647a62aeeac88bf257aa522d01ffea395e0ab45c73f93f65654ec38f25a06
    - Removed certificates:
      - E-Tugra Global Root CA ECC v3
        sha256: 873f4685fa7f563625252e6d36bcd7f16fc24951f264e47e1b954f4908cdca13
      - E-Tugra Global Root CA RSA v3
        sha256: ef66b0b10a3cdb9f2e3648c76bd2af18ead2bfe6f117655e28c4060da1a3f4c2

OBS-URL: https://build.opensuse.org/request/show/1108659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mozilla-CA?expand=0&rev=14
2023-09-12 15:03:30 +00:00

70 lines
2.1 KiB
RPMSpec

#
# spec file for package perl-Mozilla-CA
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Mozilla-CA
Name: perl-Mozilla-CA
Version: 20230821.0.0
Release: 0
%define cpan_version 20230821
#Upstream: SUSE-Public-Domain
License: GPL-2.0-or-later OR MPL-1.1 OR LGPL-2.1-or-later
Summary: Mozilla's CA cert bundle in PEM format
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/L/LW/LWP/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.94
Provides: perl(Mozilla::CA) = 20230821.0.0
%define __perllib_provides /bin/true
%{perl_requires}
%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.
The module provide a single function:
* SSL_ca_file()
Returns the absolute path to the Mozilla's CA cert bundle PEM file.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%changelog