- Update to 0.500
- Add support for all diff styles supplied by Text::Diff (CPAN RT#23579)
- Add Build.PL
- Convert to universally use Test::More instead of Test
- Convert to modern Perl distribution.
- Applied doc suggestion from CPAN RT#24297
- Fix the { a => 1 } versus { a => '1' } bug (CPAN RT#3029)
- Upstream dropped eg/ docs
- Bump perl(Text::Diff) requirement to 0.35
- BR: perl(Test::Pod) and perl(Test::Pod::Coverage) for extra test cover
This commit is contained in:
parent
751f3c3090
commit
975dc07454
@ -1 +1 @@
|
||||
Test-Differences-0.4801.tar.gz
|
||||
Test-Differences-0.500.tar.gz
|
||||
|
||||
@ -1,18 +1,24 @@
|
||||
# RPM version needs 4 digits after the decimal to preserve upgrade path
|
||||
%global module_version 0.500
|
||||
%global RPM_version %(echo %{module_version} | %{__perl} -pi -e 's/(.*)/sprintf("%.4f", $1)/e')
|
||||
|
||||
Name: perl-Test-Differences
|
||||
Version: 0.4801
|
||||
Release: 5%{?dist}
|
||||
Summary: Test strings and data structures and show differences if not ok
|
||||
Version: %{RPM_version}
|
||||
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://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-Differences-%{version}.tar.gz
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-Differences-%{module_version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Text::Diff) >= 0.34
|
||||
BuildRequires: perl(Text::Diff) >= 0.35
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -22,7 +28,7 @@ diff utility may be just what's needed.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Differences-%{version}
|
||||
%setup -q -n Test-Differences-%{module_version}
|
||||
|
||||
|
||||
%build
|
||||
@ -48,12 +54,24 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes eg/
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/*.3pm*
|
||||
%{_mandir}/man3/Test::Differences.3pm*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 29 2010 Paul Howarth <paul@city-fan.org> - 0.5000-1
|
||||
- Update to 0.500
|
||||
- Add support for all diff styles supplied by Text::Diff (CPAN RT#23579)
|
||||
- Add Build.PL
|
||||
- Convert to universally use Test::More instead of Test
|
||||
- Convert to modern Perl distribution.
|
||||
- Applied doc suggestion from CPAN RT#24297
|
||||
- Fix the { a => 1 } versus { a => '1' } bug (CPAN RT#3029)
|
||||
- Upstream dropped eg/ docs
|
||||
- Bump perl(Text::Diff) requirement to 0.35
|
||||
- BR: perl(Test::Pod) and perl(Test::Pod::Coverage) for extra test cover
|
||||
|
||||
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.4801-5
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user