rpms/perl-MRO-Compat/F-8 perl-MRO-Compat.spec, NONE, 1.1 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Fri Dec 7 17:03:14 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-MRO-Compat/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9795

Modified Files:
	sources 
Added Files:
	perl-MRO-Compat.spec 
Log Message:
* Thu Dec 06 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.05-5
- bump



--- NEW FILE perl-MRO-Compat.spec ---
Name:           perl-MRO-Compat
Version:        0.05
Release:        5%{?dist}
Summary:        Mro::* interface compatibility for Perls < 5.9.5
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/MRO-Compat/
Source0:        http://www.cpan.org/authors/id/B/BL/BLBLACK/MRO-Compat-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# core
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More) >= 0.47
# cpan
BuildRequires:  perl(Class::C3) >= 0.19
BuildRequires:  perl(Class::C3::XS) >= 0.08
# test
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)

# not automatically picked up
Requires:       perl(Class::C3) >= 0.19

%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.

%prep
%setup -q -n MRO-Compat-%{version}

perl -pi -e 's|^#!./perl|#!/usr/bin/perl|' t/15pkg_gen.t

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ChangeLog README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Dec 06 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.05-5
- bump

* Wed Dec 05 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.05-4
- update INstall -> install

* Wed Dec 05 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.05-3
- add Test::Pod deps

* Tue Dec 04 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.05-2
- make Class::C3 dep explicit

* Tue Sep 18 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.05-1
- Specfile autogenerated by cpanspec 1.71.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MRO-Compat/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Dec 2007 21:02:24 -0000	1.1
+++ sources	7 Dec 2007 17:02:36 -0000	1.2
@@ -0,0 +1 @@
+43ef6e27ad3a0c0e119a2a515110b464  MRO-Compat-0.05.tar.gz




More information about the scm-commits mailing list