update to 0.61 [release 0.61-1mamba;Sun Apr 28 2013]
This commit is contained in:
parent
fff8e288a2
commit
d1f3ffe6f4
@ -1,2 +1,5 @@
|
||||
# perl-Test-Differences
|
||||
|
||||
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.
|
||||
|
||||
|
62
perl-Test-Differences.spec
Normal file
62
perl-Test-Differences.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Test-Differences
|
||||
Epoch: 1
|
||||
Version: 0.61
|
||||
Release: 1mamba
|
||||
Summary: Test::Differences - Test strings and data structures and show differences if not ok
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-Differences-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
BuildRequires: perl(Text::Diff)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl-devel
|
||||
Requires: perl(Text::Diff)
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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 PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w %{buildroot}/*
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/*.3pm.gz
|
||||
%doc Changes
|
||||
|
||||
%changelog
|
||||
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 0.61-1mamba
|
||||
- update to 0.61
|
||||
|
||||
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 0.4801-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Feb 17 2011 gil <puntogil@libero.it> 0.500-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user