From 2b42fe616446effc0c2c7a450a6f699abeba8348ea3ed65808d21e1457b54b94 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 17 Apr 2015 07:29:00 +0000 Subject: [PATCH] Accepting request 297545 from devel:languages:perl:autoupdate update OBS-URL: https://build.opensuse.org/request/show/297545 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CPAN-Meta-Requirements?expand=0&rev=13 --- CPAN-Meta-Requirements-2.125.tar.gz | 3 - CPAN-Meta-Requirements-2.133.tar.gz | 3 + cpanspec.yml | 20 +++++++ perl-CPAN-Meta-Requirements.changes | 86 +++++++++++++++++++++++++++++ perl-CPAN-Meta-Requirements.spec | 29 +++++----- 5 files changed, 123 insertions(+), 18 deletions(-) delete mode 100644 CPAN-Meta-Requirements-2.125.tar.gz create mode 100644 CPAN-Meta-Requirements-2.133.tar.gz create mode 100644 cpanspec.yml diff --git a/CPAN-Meta-Requirements-2.125.tar.gz b/CPAN-Meta-Requirements-2.125.tar.gz deleted file mode 100644 index 85fb8b0..0000000 --- a/CPAN-Meta-Requirements-2.125.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1826828d3430e08c48fd94212a401338f794216112d0035125569439a5cfdab4 -size 22320 diff --git a/CPAN-Meta-Requirements-2.133.tar.gz b/CPAN-Meta-Requirements-2.133.tar.gz new file mode 100644 index 0000000..844ec82 --- /dev/null +++ b/CPAN-Meta-Requirements-2.133.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cd3e2ce06032f6e5ae79b329735c9aa6f01cadba07c5cfe692e35e43b38eb04 +size 27990 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#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 diff --git a/perl-CPAN-Meta-Requirements.changes b/perl-CPAN-Meta-Requirements.changes index 7d66f2e..811bd44 100644 --- a/perl-CPAN-Meta-Requirements.changes +++ b/perl-CPAN-Meta-Requirements.changes @@ -1,3 +1,89 @@ +------------------------------------------------------------------- +Thu Apr 16 21:26:17 UTC 2015 - coolo@suse.com + +- updated to 2.133 + see /usr/share/doc/packages/perl-CPAN-Meta-Requirements/Changes + + 2.133 2015-02-22 06:35:34-05:00 America/New_York + + [FIXED] + + - In fixing preservation of "0.00", some Module => 0 optimizations were + lost; this restores those optimizations + + 2.132 2015-01-22 17:09:19-05:00 America/New_York + + [FIXED] + + - Precision of version requirement "0.00" is preserved when merging + requirements. + + 2.131 2014-12-23 15:04:19-05:00 America/New_York + + [ENHANCEMENTS] + + - Merging Module => 0 into requirements is now optimized + + [PREREQS] + + - Scalar::Utils removed as a prerequisite + + 2.130 2014-11-19 23:25:46-05:00 America/New_York + + [ADDED] + + - from_string_hash can take optional constructor arguments + + [CHANGED] + + - bad_version_hook callback gets module name as well as version string + + - undefined/empty versions given to from_string_hash or + add_string_requirement now carp and are coerced to "0" instead of + being fatal. This is more consistent with how the other requirement + functions work. + + 2.129 2014-11-13 16:28:45-05:00 America/New_York + + [FIXED] + + - from_string_hash can now accept v-strings as hash values + + 2.128 2014-09-06 00:04:22-04:00 America/New_York + + [FIXED] + + - Throws an error at compile time if neither version nor + the ExtUtils::MakeMaker bootstrap are available + + 2.127 2014-09-04 22:17:44-04:00 America/New_York + + [FIXED] + + - Works around limitations in version::vpp detecting v-string magic + + [PREREQS] + + - Requires version.pm 0.88 in metadata, but code should work with any + version of version.pm + + - Adds support for forthcoming ExtUtils::MakeMaker bootstrap version.pm + for Perls older than 5.10.0 + + 2.126 2014-07-30 16:26:29-04:00 America/New_York + + [FIXED] + + - Fixed compatibility with version.pm 0.77 + + [DOCUMENTED] + + - Minor documentation fixes + + [CHANGED] + + - Modernized distribution meta files + ------------------------------------------------------------------- Fri Dec 6 15:53:15 UTC 2013 - coolo@suse.com diff --git a/perl-CPAN-Meta-Requirements.spec b/perl-CPAN-Meta-Requirements.spec index 5d0087b..29229b5 100644 --- a/perl-CPAN-Meta-Requirements.spec +++ b/perl-CPAN-Meta-Requirements.spec @@ -1,7 +1,7 @@ # # spec file for package perl-CPAN-Meta-Requirements # -# Copyright (c) 2013 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,39 +17,38 @@ Name: perl-CPAN-Meta-Requirements -Version: 2.125 +Version: 2.133000 Release: 0 +%define cpan_version 2.133 +Provides: perl(CPAN::Meta::Requirements) = 2.133000 %define cpan_name CPAN-Meta-Requirements -Summary: a set of version requirements for a CPAN dist +Summary: Set of Version Requirements for a Cpan Dist License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/CPAN-Meta-Requirements/ -Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(version) >= 0.77 -#BuildRequires: perl(CPAN::Meta::Requirements) -#BuildRequires: perl(Pod::Wordlist) -#BuildRequires: perl(Test::Spelling) >= 0.12 -Requires: perl(version) >= 0.77 -# MANUAL -Provides: perl(CPAN::Meta::Requirements) = %{version}000 +BuildRequires: perl(version) >= 0.88 +Requires: perl(version) >= 0.88 %{perl_requires} %description A CPAN::Meta::Requirements object models a set of version constraints like those specified in the _META.yml_ or _META.json_ files in CPAN -distributions. It can be built up by adding more and more constraints, and -it will reduce them to the simplest representation. +distributions, and as defined by the CPAN::Meta::Spec manpage; It can be +built up by adding more and more constraints, and it will reduce them to +the simplest representation. Logically impossible constraints will be identified immediately by thrown exceptions. %prep -%setup -q -n %{cpan_name}-%{version} +%setup -q -n %{cpan_name}-%{cpan_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -65,6 +64,6 @@ exceptions. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING cpanfile LICENSE perlcritic.rc README +%doc Changes CONTRIBUTING.mkdn LICENSE README %changelog