Accepting request 297998 from devel:languages:perl:autoupdate

- updated to 20141217
   see /usr/share/doc/packages/perl-Mozilla-CA/Changes

OBS-URL: https://build.opensuse.org/request/show/297998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mozilla-CA?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2015-04-19 08:04:37 +00:00 committed by Git OBS Bridge
parent 176cf0342f
commit 5284e6ea06
5 changed files with 46 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82342614add1dbca8a00daa1ee55af3e0036245aed7d445537918c045008ccd7
size 139200

View File

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

26
cpanspec.yml Normal file
View File

@ -0,0 +1,26 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#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: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 19 06:36:27 UTC 2015 - coolo@suse.com
- updated to 20141217
see /usr/share/doc/packages/perl-Mozilla-CA/Changes
-------------------------------------------------------------------
Wed Apr 9 22:01:14 UTC 2014 - lars@linux-schulserver.de

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Mozilla-CA
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,16 @@
Name: perl-Mozilla-CA
Version: 20130114
Version: 20141217
Release: 0
%define cpan_name Mozilla-CA
#Upstream: For the bundled Mozilla CA PEM file the following applies: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is the Netscape security libraries. The Initial Developer of the Original Code is Netscape Communications (C) 1994-2000 the Initial Developer. All Rights Reserved. Alternatively, the contents of this file may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. The Mozilla::CA distribution itself is available under the same license.
%define cpan_name Mozilla-CA
Summary: Mozilla's CA cert bundle in PEM format
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Mozilla-CA/
Source: http://www.cpan.org/authors/id/A/AB/ABH/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/A/AB/ABH/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -55,14 +57,16 @@ find . -type f -print0 | xargs -0 chmod 644
%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
%perl_process_packlist
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