rpms/perl-Test-Differences/devel .cvsignore, 1.3, 1.4 perl-Test-Differences.spec, 1.12, 1.13 sources, 1.3, 1.4

Paul Howarth pghmcfc at fedoraproject.org
Thu Jul 1 09:15:24 UTC 2010


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Test-Differences/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19030

Modified Files:
	.cvsignore perl-Test-Differences.spec sources 
Log Message:
* Tue Jun 29 2010 Paul Howarth <paul at 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



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Differences/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	13 Mar 2009 23:28:03 -0000	1.3
+++ .cvsignore	1 Jul 2010 09:15:24 -0000	1.4
@@ -1 +1 @@
-Test-Differences-0.4801.tar.gz
+Test-Differences-0.500.tar.gz


Index: perl-Test-Differences.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Differences/devel/perl-Test-Differences.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- perl-Test-Differences.spec	6 May 2010 20:09:08 -0000	1.12
+++ perl-Test-Differences.spec	1 Jul 2010 09:15:24 -0000	1.13
@@ -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 at 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 at redhat.com> - 0.4801-5
 - Mass rebuild with perl-5.12.0
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Differences/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	13 Mar 2009 23:28:06 -0000	1.3
+++ sources	1 Jul 2010 09:15:24 -0000	1.4
@@ -1 +1 @@
-2df59051b3c4276f9bb3f26fcf01ae67  Test-Differences-0.4801.tar.gz
+9eb50dc627296ea46cd4d3200a61d6e9  Test-Differences-0.500.tar.gz



More information about the scm-commits mailing list