Sync from SUSE:SLFO:Main perl-MRO-Compat revision 1be74db7b07475aee8b42be65764e498

This commit is contained in:
Adrian Schröter 2024-05-03 18:29:49 +02:00
commit aeb68e85a8
5 changed files with 189 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
MRO-Compat-0.15.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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

56
perl-MRO-Compat.changes Normal file
View File

@ -0,0 +1,56 @@
-------------------------------------------------------------------
Fri Jan 7 03:09:06 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 0.15
see /usr/share/doc/packages/perl-MRO-Compat/Changes
0.15 - 2022-01-06
- fix function prototypes to match core functions
0.14_01 - 2020-11-16
- optimize pure perl DFS inheritance calculation on perl 5.8
- pod formatting fix
-------------------------------------------------------------------
Wed Mar 29 06:05:12 UTC 2017 - coolo@suse.com
- updated to 0.13
see /usr/share/doc/packages/perl-MRO-Compat/Changes
-------------------------------------------------------------------
Wed Jun 5 14:30:50 UTC 2013 - coolo@suse.com
- updated to 0.12
- Bump Class::C3 dependency on 5.8 which in turn will automatically
install Class::C3::XS if possible
- Fix nonfunctional SYNOPSIS (RT#78325)
-------------------------------------------------------------------
Fri Nov 18 11:08:42 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Wed Dec 1 06:55:40 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Thu Nov 11 20:01:05 UTC 2010 - chris@computersalat.de
- update to 0.11
- Fix misspelled docs for get_isarev. Closes RT#46401.
- Bump optional prereq on Class::C3 to 0.20.
- 0.10 - Wed Mar 25, 2009
- Remove the fake Build.PL. Module::Install doesn't support that anymore.
(Florian Ragwitz)
- Remove auto_install from Makefile.PL. Its use is strongly discouraged.
(Closes RT#44542) (Simon Betrang)
- noarch pkg
- changelog to changes file
-------------------------------------------------------------------
Sun Oct 26 13:38:07 UTC 2008 - gerrit.beine@gmx.de
- first release 0.09

79
perl-MRO-Compat.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package perl-MRO-Compat
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name MRO-Compat
Name: perl-MRO-Compat
Version: 0.15
Release: 0
Summary: Mro::* interface compatibility for Perls < 5.9.5
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
The "mro" namespace provides several utilities for dealing with method
resolution order and method caching in general in Perl 5.9.5 and higher.
This module provides those interfaces for earlier versions of Perl (back to
5.6.0 anyways).
It is a harmless no-op to use this module on 5.9.5+. That is to say, code
which properly uses MRO::Compat will work unmodified on both older Perls
and 5.9.5+.
If you're writing a piece of software that would like to use the parts of
5.9.5+'s mro:: interfaces that are supported here, and you want
compatibility with older Perls, this is the module for you.
Some parts of this code will work better and/or faster with Class::C3::XS
installed (which is an optional prereq of Class::C3, which is in turn a
prereq of this package), but it's not a requirement.
This module never exports any functions. All calls must be fully qualified
with the 'mro::' prefix.
The interface documentation here serves only as a quick reference of what
the function basically does, and what differences between MRO::Compat and
5.9.5+ one should look out for. The main docs in 5.9.5's mro are the real
interface docs, and contain a lot of other useful information.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog