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

Iain Arnell iarnell at fedoraproject.org
Tue Apr 7 04:03:26 UTC 2009


Author: iarnell

Update of /cvs/pkgs/rpms/perl-Test-Assertions/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26701/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Test-Assertions.spec 
Log Message:
initial import


--- NEW FILE perl-Test-Assertions.spec ---
Name:           perl-Test-Assertions
Version:        1.054
Release:        1%{?dist}
Summary:        Simple set of building blocks for both unit and runtime testing
License:        GPLv2
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Test-Assertions/
Source0:        http://www.cpan.org/authors/id/B/BB/BBC/Test-Assertions-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Log::Trace)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Test::Assertions provides a convenient set of tools for constructing tests,
such as unit tests or run-time assertion checks (like C's ASSERT macro).
Unlike some of the Test:: modules available on CPAN, Test::Assertions is
not limited to unit test scripts; for example it can be used to check
output is as expected within a benchmarking script. When it is used for
unit tests, it generates output in the standard form for CPAN unit testing
(under Test::Harness).

%prep
%setup -q -n Test-Assertions-%{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 -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Sat Apr 04 2009 Iain Arnell 1.054-1
- Specfile autogenerated by cpanspec 1.78.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Assertions/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Apr 2009 03:30:58 -0000	1.1
+++ .cvsignore	7 Apr 2009 04:02:56 -0000	1.2
@@ -0,0 +1 @@
+Test-Assertions-1.054.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Assertions/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Apr 2009 03:30:58 -0000	1.1
+++ sources	7 Apr 2009 04:02:56 -0000	1.2
@@ -0,0 +1 @@
+71359868674fd4290bd7d9da407c1cda  Test-Assertions-1.054.tar.gz




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