Sync from SUSE:SLFO:Main perl-Test-CPAN-Meta revision 496050757cd39cf396c4a88c85026392

This commit is contained in:
Adrian Schröter 2024-05-03 18:49:06 +02:00
commit a9dcaa31c9
5 changed files with 172 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
Test-CPAN-Meta-0.25.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#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: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -0,0 +1,53 @@
-------------------------------------------------------------------
Sat Nov 30 14:54:32 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Convert changes file to proper UTF-8 format: new
version of RPM are getting strict in interpreting files.
-------------------------------------------------------------------
Fri May 8 08:40:33 UTC 2015 - coolo@suse.com
- updated to 0.25
see /usr/share/doc/packages/perl-Test-CPAN-Meta/Changes
0.25 2015-05-06
- POD fixes (by Olivier Mengué (DOLMEN)).
- removed Test::CPAN::Meta from the recommends list, as CPAN.pm tries
to install it first. (RT#104023 Steve Hay (SHAY)).
-------------------------------------------------------------------
Mon Apr 13 18:33:51 UTC 2015 - coolo@suse.com
- updated to 0.24
see /usr/share/doc/packages/perl-Test-CPAN-Meta/Changes
-------------------------------------------------------------------
Tue Jun 4 14:58:02 UTC 2013 - coolo@suse.com
- updated to 0.23
- updated INSTALL instructions.
- added minimum perl version (5.006).
- reworked Makefile.PL for clarity.
- implemented Perl::Critic suggestions.
- added meta_yaml_ok test and example.
- several Version.pm updates, including new() parameter name change:
'yaml' is now 'data'.
- RT#76609: further spelling fix. (Florian Schlichting).
- removed DSLIP info.
- RT#76609: spelling fix. (Florian Schlichting & Gregor Herrmann).
- RT#74317: imported url validation from CPAN::Meta (Alex Hartmaier).
- RT#66692: updated license type (Paul Howarth).
- updates to examples.
-------------------------------------------------------------------
Sat Apr 30 15:25:11 UTC 2011 - coolo@opensuse.org
- updated to 0.18
- documentation clean up
-------------------------------------------------------------------
Fri Jan 21 20:32:55 UTC 2011 - coolo@novell.com
- initial package 0.17
* created by cpanspec 1.78.03

70
perl-Test-CPAN-Meta.spec Normal file
View File

@ -0,0 +1,70 @@
#
# spec file for package perl-Test-CPAN-Meta
#
# 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
# 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 http://bugs.opensuse.org/
#
Name: perl-Test-CPAN-Meta
Version: 0.25
Release: 0
%define cpan_name Test-CPAN-Meta
Summary: Validate your CPAN META.yml files
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-CPAN-Meta/
Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Parse::CPAN::Meta) >= 0.02
BuildRequires: perl(Test::More) >= 0.70
Requires: perl(Parse::CPAN::Meta) >= 0.02
Requires: perl(Test::More) >= 0.70
Recommends: perl(Test::Pod) >= 1.00
Recommends: perl(Test::Pod::Coverage) >= 0.08
%{perl_requires}
%description
This distribution was written to ensure that a META.yml file, provided with
a standard distribution uploaded to CPAN, meets the specifications that are
slowly being introduced to module uploads, via the use of package makers
and installers such as the ExtUtils::MakeMaker manpage, the Module::Build
manpage and the Module::Install manpage.
See the CPAN::Meta manpage for further details of the CPAN Meta
Specification.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples LICENSE README
%changelog