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

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Sat May 6 18:54:21 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Test-Prereq/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24316/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Test-Prereq.spec 
Log Message:
auto-import perl-Test-Prereq-1.030-1 on branch devel from perl-Test-Prereq-1.030-1.src.rpm


--- NEW FILE perl-Test-Prereq.spec ---
Name:           perl-Test-Prereq
Version:        1.030
Release:        1%{?dist}
Summary:        Check if Makefile.PL has the right pre-requisites
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Test-Prereq/
Source0:        http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Prereq-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Module::CoreList)
BuildRequires:  perl(Module::Info)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The prereq_ok() function examines the modules it finds in blib/lib/,
blib/script, and the test files it finds in t/ (and test.pl). It figures
out which modules they use, skips the modules that are in the Perl core,
and compares the remaining list of modules to those in the PREREQ_PM
section of Makefile.PL.

%prep
%setup -q -n Test-Prereq-%{version}

%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 -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check
%{?_with_check:make test}

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Fri Mar 24 2006 Steven Pritchard <steve at kspei.com> 1.030-1
- Specfile autogenerated by cpanspec 1.64.
- Fix License.
- Drop explicit Requires.
- Disable tests by default (uses network).


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Prereq/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 May 2006 18:53:34 -0000	1.1
+++ .cvsignore	6 May 2006 18:54:21 -0000	1.2
@@ -0,0 +1 @@
+Test-Prereq-1.030.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Prereq/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 May 2006 18:53:34 -0000	1.1
+++ sources	6 May 2006 18:54:21 -0000	1.2
@@ -0,0 +1 @@
+9acb4eb0737bb041e9ece8ad08e127c3  Test-Prereq-1.030.tar.gz




More information about the fedora-extras-commits mailing list