update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Differences?expand=0&rev=16
This commit is contained in:
parent
fb4ccc4b7b
commit
d39bfde132
@ -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
|
Tue Dec 27 13:30:21 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Test-Differences
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,50 +17,50 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Test-Differences
|
Name: perl-Test-Differences
|
||||||
Version: 0.61
|
Version: 0.62
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name Test-Differences
|
||||||
Summary: Test strings and data structures and show differences if not ok
|
Summary: Test strings and data structures and show differences if not ok
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
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/
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Capture::Tiny) >= 0.24
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Data::Dumper) >= 2.126
|
||||||
BuildRequires: perl(Text::Diff)
|
BuildRequires: perl(Module::Build)
|
||||||
Requires: perl(Text::Diff)
|
BuildRequires: perl(Text::Diff) >= 0.35
|
||||||
# MANUAL
|
Requires: perl(Capture::Tiny) >= 0.24
|
||||||
Provides: perl(Test::Differences) = 0.600
|
Requires: perl(Data::Dumper) >= 2.126
|
||||||
|
Requires: perl(Text::Diff) >= 0.35
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q -n "Test-Differences-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Build.PL installdirs=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
|
||||||
%perl_make_install
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%__make test
|
./Build test
|
||||||
|
|
||||||
%files
|
%install
|
||||||
%defattr(-,root,root)
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user