1
0

Accepting request 483265 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/483265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MRO-Compat?expand=0&rev=13
This commit is contained in:
Yuchen Lin 2017-04-07 12:20:52 +00:00 committed by Git OBS Bridge
commit 79933d88e5
5 changed files with 51 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bba5b93869aa537a3389949669d682f047d3014d53bc3a2d7209c6819e5015d6
size 24230

3
MRO-Compat-0.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a2c3b6ccc19328d5579d02a7d91285e2afd85d801f49d423a8eb16f323da4f8
size 8711

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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 Wed Jun 5 14:30:50 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-MRO-Compat # spec file for package perl-MRO-Compat
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,27 +17,19 @@
Name: perl-MRO-Compat Name: perl-MRO-Compat
Version: 0.12 Version: 0.13
Release: 0 Release: 0
%define cpan_name MRO-Compat %define cpan_name MRO-Compat
Summary: mro::* interface compatibility for Perls < 5.9.5 Summary: Mro::* Interface Compatibility for Perls < 5.9.5
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MRO-Compat/ Url: http://search.cpan.org/dist/MRO-Compat/
Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
#BuildRequires: perl(Class::C3)
#BuildRequires: perl(inc::Module::Install) >= 1.06
#BuildRequires: perl(JSON)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(mro)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(YAML::Tiny)
%{perl_requires} %{perl_requires}
%description %description
@ -48,26 +40,24 @@ This module provides those interfaces for earlier versions of Perl (back to
5.6.0 anyways). 5.6.0 anyways).
It is a harmless no-op to use this module on 5.9.5+. That is to say, code It is a harmless no-op to use this module on 5.9.5+. That is to say, code
which properly uses the MRO::Compat manpage will work unmodified on both which properly uses MRO::Compat will work unmodified on both older Perls
older Perls and 5.9.5+. and 5.9.5+.
If you're writing a piece of software that would like to use the parts of 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 5.9.5+'s mro:: interfaces that are supported here, and you want
compatibility with older Perls, this is the module for you. compatibility with older Perls, this is the module for you.
Some parts of this code will work better and/or faster with the Some parts of this code will work better and/or faster with Class::C3::XS
Class::C3::XS manpage installed (which is an optional prereq of the installed (which is an optional prereq of Class::C3, which is in turn a
Class::C3 manpage, which is in turn a prereq of this package), but it's not prereq of this package), but it's not a requirement.
a requirement.
This module never exports any functions. All calls must be fully qualified This module never exports any functions. All calls must be fully qualified
with the 'mro::' prefix. with the 'mro::' prefix.
The interface documentation here serves only as a quick reference of what The interface documentation here serves only as a quick reference of what
the function basically does, and what differences between the MRO::Compat the function basically does, and what differences between MRO::Compat and
manpage and 5.9.5+ one should look out for. The main docs in 5.9.5's the 5.9.5+ one should look out for. The main docs in 5.9.5's mro are the real
mro manpage are the real interface docs, and contain a lot of other useful interface docs, and contain a lot of other useful information.
information.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
@ -86,6 +76,6 @@ information.
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc ChangeLog README %doc Changes README
%changelog %changelog