[perl-Text-Diff] 1.41 bump and some cleanup

Petr Šabata psabata at fedoraproject.org
Fri Jan 27 11:54:20 UTC 2012


commit e28c524f3aca3fac5182540e76a3654cad41f83d
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Jan 27 12:51:06 2012 +0100

    1.41 bump and some cleanup

 .gitignore          |    1 +
 perl-Text-Diff.spec |   37 ++++++++++++++++++-------------------
 sources             |    2 +-
 3 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2009fc3..b2bcfa8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-Diff-1.37.tar.gz
+/Text-Diff-1.41.tar.gz
diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec
index 23bdf20..62fa2a8 100644
--- a/perl-Text-Diff.spec
+++ b/perl-Text-Diff.spec
@@ -1,16 +1,19 @@
 Name:           perl-Text-Diff
-Version:        1.37
-Release:        8%{?dist}
+Version:        1.41
+Release:        1%{?dist}
 Summary:        Perform diffs on files and record sets
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Diff/
-Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Text-Diff-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(Algorithm::Diff) >= 1.19
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Algorithm::Diff)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(IO::File)
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -28,32 +31,28 @@ generally slower on larger files.
 %setup -q -n Text-Diff-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes
+%doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jan 27 2012 Petr Šabata <contyk at redhat.com> - 1.41-1
+- 1.41 bump, spec modernization and cleanup
+- Update Source URL
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.37-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index e4e71e8..95d696b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-52c1cba785ecfbbca242b57742173665  Text-Diff-1.37.tar.gz
+30d56e6dd5551ca16b8e16cc7299dc21  Text-Diff-1.41.tar.gz



More information about the perl-devel mailing list