commit a9dcaa31c958c95b2661d52a0731657c22bc48ad612972e735d23f51976ad211 Author: Adrian Schröter Date: Fri May 3 18:49:06 2024 +0200 Sync from SUSE:SLFO:Main perl-Test-CPAN-Meta revision 496050757cd39cf396c4a88c85026392 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Test-CPAN-Meta-0.25.tar.gz b/Test-CPAN-Meta-0.25.tar.gz new file mode 100644 index 0000000..244ca14 --- /dev/null +++ b/Test-CPAN-Meta-0.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f55b4f9cf6bc396d0fe8027267685cb2ac4affce897d0967a317fac6db5a8db5 +size 17671 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Test-CPAN-Meta.changes b/perl-Test-CPAN-Meta.changes new file mode 100644 index 0000000..9a14411 --- /dev/null +++ b/perl-Test-CPAN-Meta.changes @@ -0,0 +1,53 @@ +------------------------------------------------------------------- +Sat Nov 30 14:54:32 UTC 2019 - Dominique Leuenberger + +- 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 + diff --git a/perl-Test-CPAN-Meta.spec b/perl-Test-CPAN-Meta.spec new file mode 100644 index 0000000..891e622 --- /dev/null +++ b/perl-Test-CPAN-Meta.spec @@ -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