Accepting request 249335 from devel:languages:perl
- updated to 0.62 - Document the Text::Diff unicode fix. - Add ability to customise 'Got' and 'Expected' column headers OBS-URL: https://build.opensuse.org/request/show/249335 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Differences?expand=0&rev=10
This commit is contained in:
commit
273ff060ec
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:759b6560011b77e6713c2a5020407e1136fa5772058c8f742d70c38aed799c10
|
||||
size 14057
|
3
Test-Differences-0.62.tar.gz
Normal file
3
Test-Differences-0.62.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b627194ca3cc3de282a46417e894239bc3ac3a814732af76112dc7cdfcf05075
|
||||
size 13694
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 15:15:09 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.62
|
||||
- Document the Text::Diff unicode fix.
|
||||
- Add ability to customise 'Got' and 'Expected' column headers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 13:30:21 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-Differences
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,50 +17,50 @@
|
||||
|
||||
|
||||
Name: perl-Test-Differences
|
||||
Version: 0.61
|
||||
Version: 0.62
|
||||
Release: 0
|
||||
%define cpan_name Test-Differences
|
||||
Summary: Test strings and data structures and show differences if not ok
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-Differences-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/Test-Differences/
|
||||
Source: http://www.cpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Text::Diff)
|
||||
Requires: perl(Text::Diff)
|
||||
# MANUAL
|
||||
Provides: perl(Test::Differences) = 0.600
|
||||
BuildRequires: perl(Capture::Tiny) >= 0.24
|
||||
BuildRequires: perl(Data::Dumper) >= 2.126
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Text::Diff) >= 0.35
|
||||
Requires: perl(Capture::Tiny) >= 0.24
|
||||
Requires: perl(Data::Dumper) >= 2.126
|
||||
Requires: perl(Text::Diff) >= 0.35
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Test strings and data structures and show differences if not ok.
|
||||
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. Here's output from an example test
|
||||
script that checks two text documents and then two (trivial) data
|
||||
structures:
|
||||
|
||||
%prep
|
||||
%setup -q -n "Test-Differences-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%__make test
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%dir %{perl_vendorlib}/Test
|
||||
%{perl_vendorlib}/Test/Differences.pm
|
||||
%dir %{perl_vendorarch}/auto/Test
|
||||
%{perl_vendorarch}/auto/Test/Differences
|
||||
%doc %{perl_man3dir}/Test::Differences.%{perl_man3ext}%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user