1
0

Accepting request 177775 from devel:languages:perl

update (forwarded request 177750 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MRO-Compat?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2013-06-09 14:59:09 +00:00 committed by Git OBS Bridge
commit d244dd037f
4 changed files with 44 additions and 46 deletions

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-MRO-Compat
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,62 +15,59 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with pod
Name: perl-MRO-Compat
Version: 0.12
Release: 0
%define cpan_name MRO-Compat
Summary: Mro::* interface compatibility for Perls < 5.9.5
Version: 0.11
Release: 2
License: GPL-1.0+ or Artistic-1.0
Summary: mro::* interface compatibility for Perls < 5.9.5
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MRO-Compat/
#Source: http://www.cpan.org/modules/by-module/MRO/MRO-Compat-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Class::C3) >= 0.20
Requires: perl(Class::C3) >= 0.20
#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}
%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+.
which properly uses the MRO::Compat manpage 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.
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.
Some parts of this code will work better and/or faster with the
Class::C3::XS manpage installed (which is an optional prereq of the
Class::C3 manpage, 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.
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.
Authors:
--------
Brandon L. Black, <blblack@gmail.com>
The interface documentation here serves only as a quick reference of what
the function basically does, and what differences between the MRO::Compat
manpage and 5.9.5+ one should look out for. The main docs in 5.9.5's the
mro manpage are the real interface docs, and contain a lot of other useful
information.
%prep
%setup -q -n %{cpan_name}-%{version}
@ -84,18 +81,11 @@ Authors:
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(-,root,root,755)
%doc ChangeLog README
%changelog