auto-import perl-Test-Differences-0.47-1 on branch devel from

perl-Test-Differences-0.47-1.src.rpm
This commit is contained in:
Jose Pedro Oliveira 2006-05-07 02:07:02 +00:00
parent 8314899d81
commit 2559a65bca
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
Test-Differences-0.47.tar.gz

View File

@ -0,0 +1,56 @@
Name: perl-Test-Differences
Version: 0.47
Release: 1%{?dist}
Summary: Test strings and data structures and show differences if not ok
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Test-Differences/
Source0: http://www.cpan.org/authors/id/R/RB/RBS/Test-Differences-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Text::Diff) >= 0.34
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
When the code you're testing returns multiple lines, records or data
structures and they're just plain wrong, an equivalent to the Unix
diff utility may be just what's needed.
%prep
%setup -q -n Test-Differences-%{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+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes eg/
%{perl_vendorlib}/Test/
%{_mandir}/man3/*.3pm*
%changelog
* Mon May 01 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.47-1
- First build.

View File

@ -0,0 +1 @@
e4fa76bb11b0d1db2d4213390413f5af Test-Differences-0.47.tar.gz