Compare commits
10 Commits
53677fad88
...
8a0af140d7
Author | SHA256 | Date | |
---|---|---|---|
8a0af140d7 | |||
|
fcfff431cd | ||
|
cae83a6735 | ||
|
5a50bdf855 | ||
|
a4b5837df0 | ||
|
a966a2b8bb | ||
|
ba7124e999 | ||
|
0844631c97 | ||
|
e74d0e9241 | ||
|
2ba927b943 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e4ea30d6a665778acb89a97ff420727b90f34f39f4965e86ef617ba3af64616
|
||||
size 70585
|
3
CPAN-Meta-2.150010.tar.gz
Normal file
3
CPAN-Meta-2.150010.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e4f80f2ec73e0741455f957bbfc992b167ecbfa1c9e23ba358df3b37b86ba3d6
|
||||
size 115459
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -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
|
@@ -1,3 +1,395 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 05:06:41 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.150010
|
||||
see /usr/share/doc/packages/perl-CPAN-Meta/Changes
|
||||
|
||||
2.150010 2016-08-18 12:10:08-04:00 America/New_York
|
||||
|
||||
[FIXED]
|
||||
|
||||
- the YAML and JSON backend variables are ignored when building/testing the
|
||||
perl core itself, where non-core backends are not yet installed.
|
||||
|
||||
[CHANGED]
|
||||
|
||||
- Added "use warnings" to Parse::CPAN::Meta
|
||||
|
||||
2.150009 2016-07-02 21:07:49-04:00 America/New_York (TRIAL RELEASE)
|
||||
|
||||
[FIXED]
|
||||
|
||||
- Fixed used of Encode in Parse::CPAN::Meta::load_json_string
|
||||
(Cherry picked from Parse::CPAN::Meta 1.4422)
|
||||
|
||||
2.150008 2016-06-28 17:01:03-04:00 America/New_York (TRIAL RELEASE)
|
||||
|
||||
[ADDED]
|
||||
|
||||
- Merged Parse::CPAN::Meta 1.4420 into this distribution
|
||||
|
||||
2.150007 2016-06-28 03:48:16-04:00 America/New_York (TRIAL RELEASE)
|
||||
|
||||
[FIXED]
|
||||
|
||||
- The cloning routine would raise an error on expected types when it
|
||||
previously would stringify. The old behavior is restored.
|
||||
|
||||
2.150006 2016-06-23 20:05:46-04:00 America/New_York (TRIAL RELEASE)
|
||||
|
||||
[FIXED]
|
||||
|
||||
- CPAN::Meta::Prereqs now fully accepts phases and types starting with 'x_'.
|
||||
New 'phases' and 'types_in' interfaces have been added.
|
||||
|
||||
- No longer relies on JSON backend for data structure cloning. This is
|
||||
much faster than using JSON::PP.
|
||||
|
||||
[TESTS]
|
||||
|
||||
- The 'extra_mappings' feature for meta merging is now tested and
|
||||
documented.
|
||||
|
||||
- During tests, delete new environment variables added by
|
||||
Parse::CPAN::Meta 1.4418
|
||||
|
||||
[SPEC]
|
||||
|
||||
- Clarifies acceptable values for booleans
|
||||
|
||||
- Cleaned up text and links of historical specs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 8 05:29:45 UTC 2015 - coolo@suse.com
|
||||
|
||||
- recompile against perl 5.22
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 07:58:43 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.150005
|
||||
see /usr/share/doc/packages/perl-CPAN-Meta/Changes
|
||||
|
||||
2.150005 2015-06-09 19:08:44-06:00 America/Denver
|
||||
|
||||
[TESTING]
|
||||
|
||||
- Changed some test data from UTF-8 to ASCII
|
||||
|
||||
2.150004 2015-05-19 11:25:53-04:00 America/New_York (TRIAL RELEASE)
|
||||
|
||||
[DOCUMENTED]
|
||||
|
||||
- Noted explicitly that historical META spec files are licensed under
|
||||
the same terms as Perl
|
||||
|
||||
[TESTING]
|
||||
|
||||
- Added test for 'x_deprecated' field in "provides"
|
||||
|
||||
[META]
|
||||
|
||||
- declared extra developer prereq
|
||||
|
||||
2.150003 2015-04-21 19:41:15-04:00 America/New_York (TRIAL RELEASE)
|
||||
|
||||
[CHANGED]
|
||||
|
||||
- Serialized CPAN::Meta objects now include a x_serialization_backend
|
||||
entry
|
||||
|
||||
2.150002 2015-04-19 01:00:10+02:00 Europe/Berlin (TRIAL RELEASE)
|
||||
|
||||
[CHANGED]
|
||||
|
||||
- Metadata merging now does deep hash merging as long as keys
|
||||
don't conflict
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 21:03:26 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.150001
|
||||
see /usr/share/doc/packages/perl-CPAN-Meta/Changes
|
||||
|
||||
2.150001 2015-03-09 14:41:39-04:00 America/New_York
|
||||
|
||||
[DOCUMENTED]
|
||||
|
||||
- Include allowed values for license field in 1.x historic licenses rather
|
||||
than linking to Module::Build
|
||||
|
||||
- Documented when fragment merging became available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 21 18:33:58 UTC 2014 - lars@linux-schulserver.de
|
||||
|
||||
- update to 2.143240
|
||||
+ Give correct path in nested merges such as resources
|
||||
+ Removed strings test that should have been removed when
|
||||
CPAN::Meta::Requirements was removed to a separate dist
|
||||
- follow new company name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 15:44:38 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 2.142060
|
||||
|
||||
[ADDED]
|
||||
|
||||
- CPAN::Meta::Merge is a new class for merging two possibly overlapping
|
||||
instances of metadata. It will accept both CPAN::Meta objects and
|
||||
(possibly incomplete) hashrefs of metadata.
|
||||
|
||||
2.141520 2014-05-31 23:41:13-04:00 America/New_York
|
||||
|
||||
[DOCUMENTED]
|
||||
|
||||
- Clarified use of 'file' for the 'provides' field in the Spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 26 09:28:07 UTC 2014 - ncutler@suse.com
|
||||
|
||||
- updated to 2.141170
|
||||
[ADDED]
|
||||
|
||||
- Added ability for CPAN::Meta::Converter to convert metadata fragments
|
||||
(incomplete portions of a metadata structure)
|
||||
|
||||
[CHANGED]
|
||||
|
||||
- Optimized internal use of JSON for datastructure cloning
|
||||
|
||||
[FIXED]
|
||||
|
||||
- Removed dependency on List::Util 1.33
|
||||
|
||||
[DOCUMENTED]
|
||||
|
||||
- Clarified language around 'dynamic_config' in the Spec
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 08:54:50 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 2.140640
|
||||
[FIXED]
|
||||
|
||||
- A change to the default meta-spec URL in 2.140630 from search.cpan.org
|
||||
to metacpan.org broke Module::Build and ExtUtils::MakeMaker. This
|
||||
reverts that change. Also added the missing change note to the prior
|
||||
version.
|
||||
|
||||
[CHANGED]
|
||||
|
||||
- Default meta-spec URL points to metacpan.org instead of search.cpan.org
|
||||
|
||||
[ADDED]
|
||||
|
||||
- Added a 'load_string' method that guesses whether the string
|
||||
is YAML or JSON
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 16:48:16 UTC 2014 - coolo@suse.com
|
||||
|
||||
- really remove perl-CPAN-Meta-use_lib.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 20:03:14 UTC 2014 - lars@linux-schulserver.de
|
||||
|
||||
- fix build on SLE11 by using Test::More from vendorlib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 11:18:14 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.133380
|
||||
[FIXED]
|
||||
- Improved bad version handling during META conversion
|
||||
|
||||
- When downgrading multiple licenses to version 1.x META formats, if all
|
||||
the licenses are open source, the downgraded license will be
|
||||
"open_source", not "unknown"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 07:39:39 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.132830
|
||||
[ADDED]
|
||||
|
||||
- CPAN::Meta::Prereqs now has a 'merged_requirements' method for
|
||||
combining requirements across multiple phases and types
|
||||
|
||||
[FIXED]
|
||||
|
||||
- Invalid 'meta-spec' is no longer a fatal error: instead, it will
|
||||
usually be treated as spec version "1.0" (prior to formalization of the
|
||||
meta-spec field). Conversion has some heuristics for guessing a
|
||||
version depending on other fields if 'meta-spec' is missing or invalid.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 09:15:24 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.132661
|
||||
[FIXED]
|
||||
- updated Makefile.PL logic to support PERL_NO_HIGHLANDER
|
||||
[PREREQS]
|
||||
- Dropped ExtUtils::MakeMaker configure_requires dependency
|
||||
to 6.17
|
||||
|
||||
[FIXED]
|
||||
- Installation on Perls < 5.12 will uninstall older versions installed
|
||||
due to being bundled with ExtUtils::MakeMaker
|
||||
|
||||
[CHANGED]
|
||||
- META validation used to allow a scalar value when a list (i.e. array
|
||||
reference) was required for a field. This has been tightened and
|
||||
validation will now fail if a scalar value is given. Conversion will
|
||||
continue to turn scalars into an array reference as it previously did.
|
||||
|
||||
[FIXED]
|
||||
- Fixed incorrectly encoded META.yml
|
||||
- remove outdated perl-CPAN-Meta-use_lib.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 4 15:07:54 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.132140
|
||||
[DOCUMENTATION]
|
||||
- Fixed some typos in CPAN::Meta::Spec
|
||||
|
||||
[OTHER]
|
||||
- migrated repository to Perl-Toolchain-Gang organization on Github and
|
||||
updated metadata accordingly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 10:05:16 UTC 2013 - coolo@suse.com
|
||||
|
||||
- fix the requirements for CPAN-Requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 18:29:24 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.131560
|
||||
[DOCUMENTATION]
|
||||
|
||||
- Replaced CPAN::Meta SYNOPSIS with code that actually works
|
||||
|
||||
[BUGFIX]
|
||||
|
||||
- Downconversion of custom resources was not dropping the leading "x_".
|
||||
Now "x_MailingList" will downconvert correctly to "MailingList".
|
||||
|
||||
[SPEC]
|
||||
|
||||
- Per the Lancaster Consensus, the 'file' subkey of a package listed in
|
||||
'provides' must refer to an actual file in the distribution, either the
|
||||
.pm file that provides the package or another file (*.PL) that
|
||||
generates it
|
||||
|
||||
[BUGFIX]
|
||||
|
||||
- Fix provides 'version' bug introduced in the 2.130870 fix
|
||||
|
||||
[BUGFIX]
|
||||
|
||||
- Don't add 'version' to 'provides' during conversion if one didn't
|
||||
exist in the original [Reported by Miyagawa; fixed by David Golden]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 25 18:38:53 UTC 2012 - opensuse@dstoecker.de
|
||||
|
||||
- fix build for older releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 13:38:13 UTC 2012 - coolo@suse.com
|
||||
|
||||
- we need to use the package name explicitly because of version
|
||||
mismatch between perl and rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 12:33:34 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 2.120921
|
||||
[REMOVED]
|
||||
|
||||
- CPAN::Meta::Requirements has been split out into its own distribution
|
||||
so it can be used by CPAN.pm without requiring all of CPAN::Meta
|
||||
|
||||
[ADDED]
|
||||
|
||||
- CPAN::Meta::Requirements now has a 'requirements_for_module' method
|
||||
to retrieve a version requirements string for a specific module
|
||||
[Leon Timmermans]
|
||||
|
||||
[OTHER]
|
||||
|
||||
- Parse::CPAN::Meta prerequisite bumped to 1.4403
|
||||
- JSON::PP prerequisites bumped to 2.27200
|
||||
- CPAN::Meta::YAML prerequisite bumped to 0.008
|
||||
|
||||
[BUGFIX]
|
||||
|
||||
- CPAN::Meta::Requirements now treats undef requirements given to
|
||||
from_string_hash() as '0' and warns about it; add_string_requirements()
|
||||
dies if it does not get a requirements string to parse
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 07:26:18 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 2.120630
|
||||
[BUGFIX]
|
||||
|
||||
- CPAN::Meta::Requirements now ensures that dotted-decimal versions are
|
||||
represented in normalized form when stringified. This fixes a
|
||||
regression in META conversion in 2.120620.
|
||||
[Reported by Kent Fredric; fixed by David Golden]
|
||||
|
||||
[ADDED]
|
||||
|
||||
- CPAN::Meta::Requirements::add_string_requirements allows building
|
||||
a requirements specification piecemeal [Cory G. Watson]
|
||||
|
||||
[BUGFIX]
|
||||
|
||||
- Version range handling fixed [RT#75424]
|
||||
|
||||
- CPAN::Meta::Converter handles bad version strings more gracefully,
|
||||
truncating alphanumerics and otherwise falling back to "0". This
|
||||
is likely better than dropping a prerequisite or dying.
|
||||
[RT#75427]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 23 09:55:46 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 2.120530
|
||||
- Dialed back perl prereq to 5.006
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 11 06:53:58 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 2.120351
|
||||
- Fixed CPAN packaging errors
|
||||
- Work around a memory leak bug involving version objects
|
||||
in boolean context.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 10:33:25 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 2.113640
|
||||
- Version::Requirements has now been merged as CPAN::Meta::Requirements,
|
||||
rendering Version::Requirements itself redundant
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 11 09:18:54 UTC 2011 - coolo@suse.de
|
||||
|
||||
- updated to 2.112621
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 01:58:02 UTC 2011 - lars@linux-schulserver.de
|
||||
|
||||
- fix build on distributions with old Test::More module
|
||||
( perl-CPAN-Meta-use_lib.patch )
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 29 10:14:29 UTC 2011 - coolo@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-CPAN-Meta (Version 2.110930)
|
||||
# spec file for package perl-CPAN-Meta
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,34 +12,32 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: perl-CPAN-Meta
|
||||
Version: 2.110930
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
|
||||
%define cpan_name CPAN-Meta
|
||||
Summary: the distribution metadata for a CPAN dist
|
||||
Url: http://search.cpan.org/dist/CPAN-Meta/
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-CPAN-Meta
|
||||
Version: 2.150010
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: The distribution metadata for a CPAN dist
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(CPAN::Meta::YAML) >= 0.002
|
||||
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
||||
BuildRequires: perl(CPAN::Meta::YAML) >= 0.011
|
||||
BuildRequires: perl(File::Temp) >= 0.20
|
||||
BuildRequires: perl(JSON::PP) >= 2.27103
|
||||
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4400
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(version) >= 0.82
|
||||
BuildRequires: perl(Version::Requirements) >= 0.101020
|
||||
Requires: perl(CPAN::Meta::YAML) >= 0.002
|
||||
Requires: perl(JSON::PP) >= 2.27103
|
||||
Requires: perl(Parse::CPAN::Meta) >= 1.4400
|
||||
Requires: perl(version) >= 0.82
|
||||
Requires: perl(Version::Requirements) >= 0.101020
|
||||
BuildRequires: perl(JSON::PP) >= 2.27
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(version) >= 0.88
|
||||
Requires: perl(CPAN::Meta::Requirements) >= 2.121
|
||||
Requires: perl(CPAN::Meta::YAML) >= 0.011
|
||||
Requires: perl(JSON::PP) >= 2.27
|
||||
Requires: perl(version) >= 0.88
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -47,7 +45,7 @@ Software distributions released to the CPAN include a _META.json_ or, for
|
||||
older distributions, _META.yml_, which describes the distribution, its
|
||||
contents, and the requirements for building and installing the
|
||||
distribution. The data structure stored in the _META.json_ file is
|
||||
described in the CPAN::Meta::Spec manpage.
|
||||
described in CPAN::Meta::Spec.
|
||||
|
||||
CPAN::Meta provides a simple class to represent this distribution metadata
|
||||
(or _distmeta_), along with some helpful methods for interrogating that
|
||||
@@ -57,25 +55,22 @@ The documentation below is only for the methods of the CPAN::Meta object.
|
||||
For information on the meaning of individual fields, consult the spec.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes history LICENSE README Todo
|
||||
%doc Changes CONTRIBUTING.mkdn README Todo
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user