Accepting request 1037711 from devel:languages:perl:autoupdate

- Remove modifying of mk-ca-bundle.pl and update-cacert-file (not present
  in distribution anymore)
- updated to 20221114
   see /usr/share/doc/packages/perl-Mozilla-CA/Changes
  Revision history for Mozilla-CA
  20221114
    - Update from Mozilla repository to 2022-11-07
    - stop installing mk-ca-bundle.pl script
    - moved repository and issues to https://github.com/libwww-perl/Mozilla-CA
    - switched tests from Test to Test::More
    - fix license specification in metadata

OBS-URL: https://build.opensuse.org/request/show/1037711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mozilla-CA?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2022-11-24 09:14:23 +00:00 committed by Git OBS Bridge
parent 2ccc49ab77
commit efc7b0806d
5 changed files with 30 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:122c8900000a9d388aa8e44f911cab6c118fe8497417917a84a8ec183971b449
size 127461

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:701bea67be670add5a102f9f8c879402b4983096b1cb0e20dd47d52d7a10666b
size 142097

View File

@ -12,14 +12,6 @@
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
post_install: |-
mkdir -p %{buildroot}/%{_bindir}
sed -e "s|/usr/bin/env perl|%{_bindir}/perl|g" %{buildroot}/%{perl_vendorlib}/Mozilla/mk-ca-bundle.pl > %{buildroot}/%{_bindir}/mk-ca-bundle.pl
chmod +x %{buildroot}/%{_bindir}/mk-ca-bundle.pl
rm %{buildroot}/%{perl_vendorlib}/Mozilla/mk-ca-bundle.pl
sed -i "s|./mk-ca-bundle.pl|%{_bindir}/mk-ca-bundle.pl|g; \
s|lib/Mozilla/CA.pm|%{perl_vendorlib}/Mozilla/CA.pm|g; \
s|lib/Mozilla/CA/cacert.pem|%{perl_vendorlib}/Mozilla/CA/cacert.pem|g" update-cacert-file
license: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
#skip_noarch: 1
#custom_build: -

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Nov 23 17:30:33 UTC 2022 - Tina Müller <tina.mueller@suse.com>
- Remove modifying of mk-ca-bundle.pl and update-cacert-file (not present
in distribution anymore)
-------------------------------------------------------------------
Tue Nov 15 03:07:48 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 20221114
see /usr/share/doc/packages/perl-Mozilla-CA/Changes
Revision history for Mozilla-CA
20221114
- Update from Mozilla repository to 2022-11-07
- stop installing mk-ca-bundle.pl script
- moved repository and issues to https://github.com/libwww-perl/Mozilla-CA
- switched tests from Test to Test::More
- fix license specification in metadata
-------------------------------------------------------------------
Sat Oct 2 03:09:26 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Mozilla-CA
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,13 @@
%define cpan_name Mozilla-CA
Name: perl-Mozilla-CA
Version: 20211001
Version: 20221114
Release: 0
#Upstream: SUSE-Public-Domain
#Upstream: For the bundled Mozilla CA PEM file the following applies: This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. The Mozilla::CA distribution itself is available under the same license.
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
License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@ -56,18 +56,9 @@ make test
%install
%perl_make_install
%perl_process_packlist
# MANUAL BEGIN
mkdir -p %{buildroot}/%{_bindir}
sed -e "s|/usr/bin/env perl|%{_bindir}/perl|g" %{buildroot}/%{perl_vendorlib}/Mozilla/mk-ca-bundle.pl > %{buildroot}/%{_bindir}/mk-ca-bundle.pl
chmod +x %{buildroot}/%{_bindir}/mk-ca-bundle.pl
rm %{buildroot}/%{perl_vendorlib}/Mozilla/mk-ca-bundle.pl
sed -i "s|./mk-ca-bundle.pl|%{_bindir}/mk-ca-bundle.pl|g; \
s|lib/Mozilla/CA.pm|%{perl_vendorlib}/Mozilla/CA.pm|g; \
s|lib/Mozilla/CA/cacert.pem|%{perl_vendorlib}/Mozilla/CA/cacert.pem|g" update-cacert-file
# MANUAL END
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README update-cacert-file
%doc Changes README
%changelog