rpms/perl-Test-CPAN-Meta/devel perl-Test-CPAN-Meta.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard steve at fedoraproject.org
Thu May 22 19:35:41 UTC 2008


Author: steve

Update of /cvs/pkgs/rpms/perl-Test-CPAN-Meta/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15571/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Test-CPAN-Meta.spec 
Log Message:
Import.



--- NEW FILE perl-Test-CPAN-Meta.spec ---
Name:           perl-Test-CPAN-Meta
Version:        0.10
Release:        1%{?dist}
Summary:        Validation of the META.yml file in a CPAN distribution
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Test-CPAN-Meta/
Source0:        http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Parse::CPAN::Meta) >= 0.02
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod) >= 1.00
BuildRequires:  perl(Test::Pod::Coverage) >= 0.08
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module was written to ensure that a META.yml file, provided with a
standard distribution uploaded to CPAN, meets the specifications that are
slowly being introduced to module uploads, via the use of package makers
and installers such as ExtUtils::MakeMaker, Module::Build and
Module::Install.

%prep
%setup -q -n Test-CPAN-Meta-%{version}

iconv -f iso-8859-1 -t utf-8 LICENSE > LICENSE.tmp
mv -f LICENSE.tmp LICENSE

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

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

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

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test AUTOMATED_TESTING=1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Artistic Changes LICENSE README examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri May 16 2008 Steven Pritchard <steve at kspei.com> 0.10-1
- Specfile autogenerated by cpanspec 1.75.
- Enable author tests.
- Add examples to docs.
- BR Test::More.
- Convert LICENSE to UTF-8.
- Drop bogus Requires.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-CPAN-Meta/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 May 2008 18:36:56 -0000	1.1
+++ .cvsignore	22 May 2008 19:34:24 -0000	1.2
@@ -0,0 +1 @@
+Test-CPAN-Meta-0.10.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-CPAN-Meta/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 May 2008 18:36:56 -0000	1.1
+++ sources	22 May 2008 19:34:24 -0000	1.2
@@ -0,0 +1 @@
+73ae85c96261c0e92662e267a32a727c  Test-CPAN-Meta-0.10.tar.gz




More information about the Fedora-perl-devel-list mailing list