Author: eseyman

Update of /cvs/pkgs/rpms/perl-Test-Regression/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19947/F-12

Modified Files:
        .cvsignore sources 
Added Files:
        import.log perl-Test-Regression.spec 
Log Message:
Initial import.


--- NEW FILE import.log ---
perl-Test-Regression-0_05-1_fc13:F-12:perl-Test-Regression-0.05-1.fc13.src.rpm:1279357027


--- NEW FILE perl-Test-Regression.spec ---
Name:           perl-Test-Regression
Version:        0.05
Release:        1%{?dist}
Summary:        Test library that can generate outputs and compare against them
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Test-Regression/
Source0:        
http://www.cpan.org/modules/by-module/Test/Test-Regression-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Algorithm::Diff)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::Differences)
BuildRequires:  perl(Test::MockObject)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Text::Diff)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%description
Using the various Test:: modules you can compare the output of a function
against what you expect. However if the output is complex and changes from
version to version, maintenance of the expected output could be costly.
This module allows one to use the test code to generate the expected
output, so that if the differences with model output are expected, one can
easily refresh the model output.

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

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Thu Jun 24 2010 Emmanuel Seyman <[email protected]> 0.05-1
- Specfile autogenerated by cpanspec 1.78.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Regression/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  16 Jul 2010 17:46:44 -0000      1.1
+++ .cvsignore  17 Jul 2010 08:57:29 -0000      1.2
@@ -0,0 +1 @@
+Test-Regression-0.05.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Regression/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     16 Jul 2010 17:46:44 -0000      1.1
+++ sources     17 Jul 2010 08:57:29 -0000      1.2
@@ -0,0 +1 @@
+48019aa641a27d5010f79d1d3f455b36  Test-Regression-0.05.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to