From d1f3ffe6f4b0576510fff71a308d6dfd286b97f0 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:41:31 +0100 Subject: [PATCH] update to 0.61 [release 0.61-1mamba;Sun Apr 28 2013] --- README.md | 3 ++ perl-Test-Differences.spec | 62 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 perl-Test-Differences.spec diff --git a/README.md b/README.md index 3f5bec6..eb274bd 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/perl-Test-Differences.spec b/perl-Test-Differences.spec new file mode 100644 index 0000000..698236f --- /dev/null +++ b/perl-Test-Differences.spec @@ -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 +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 0.61-1mamba +- update to 0.61 + +* Sun Jul 24 2011 Automatic Build System 0.4801-1mamba +- automatic version update by autodist + +* Thu Feb 17 2011 gil 0.500-1mamba +- package created by autospec