From 3b0e875235086e32d77038ea718b4b69c722fd28 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2019 18:18:01 +0000 Subject: import perl-Text-Diff-1.45-2.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..095c367 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Text-Diff-1.45.tar.gz diff --git a/.perl-Text-Diff.metadata b/.perl-Text-Diff.metadata new file mode 100644 index 0000000..8aff4c5 --- /dev/null +++ b/.perl-Text-Diff.metadata @@ -0,0 +1 @@ +bd762ce99fbde3a6d921366258c807c20582de59 SOURCES/Text-Diff-1.45.tar.gz diff --git a/SPECS/perl-Text-Diff.spec b/SPECS/perl-Text-Diff.spec new file mode 100644 index 0000000..cd8141e --- /dev/null +++ b/SPECS/perl-Text-Diff.spec @@ -0,0 +1,182 @@ +Name: perl-Text-Diff +Version: 1.45 +Release: 2%{?dist} +Summary: Perform diffs on files and record sets +License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-Diff/ +Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Text-Diff-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Algorithm::Diff) >= 1.19 +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Optional run-time: +BuildRequires: perl(utf8) +# Tests: +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(IO::File) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Algorithm::Diff) >= 1.19 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Algorithm::Diff\\)$ + +%description +Text::Diff provides a basic set of services akin to the GNU diff utility. +It is not anywhere near as feature complete as GNU diff, but it is better +integrated with Perl and available on all platforms. It is often faster +than shelling out to a system's diff executable for small files, and +generally slower on larger files. + +%prep +%setup -q -n Text-Diff-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.45-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Aug 20 2017 Emmanuel Seyman - 1.45-1 +- Update tol 1.45 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.44-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.44-4 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.44-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.44-2 +- Perl 5.24 rebuild + +* Sat Feb 27 2016 Petr Šabata - 1.44-1 +- 1.44 bump + +* Thu Feb 04 2016 Fedora Release Engineering - 1.43-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Aug 24 2015 Petr Šabata - 1.43-1 +- 1.43 bump +- Updated source URL +- Modernized the spec file + +* Thu Jun 18 2015 Fedora Release Engineering - 1.41-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 04 2015 Jitka Plesnikova - 1.41-11 +- Perl 5.22 rebuild + +* Thu Jan 15 2015 Petr Pisar - 1.41-10 +- Specify all dependencies + +* Wed Aug 27 2014 Jitka Plesnikova - 1.41-9 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.41-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.41-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 18 2013 Petr Pisar - 1.41-6 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.41-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Oct 29 2012 Jitka Plesnikova - 1.41-4 +- Update license + +* Fri Jul 20 2012 Fedora Release Engineering - 1.41-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 1.41-2 +- Perl 5.16 rebuild + +* Fri Jan 27 2012 Petr Šabata - 1.41-1 +- 1.41 bump, spec modernization and cleanup +- Update Source URL + +* Fri Jan 13 2012 Fedora Release Engineering - 1.37-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 1.37-7 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.37-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 1.37-5 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 1.37-4 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 1.37-3 +- rebuild against perl 5.10.1 + +* Sun Sep 27 2009 Chris Weyl 1.37-2 +- add Test::More as a BR (rt#50040) + +* Sun Sep 27 2009 Chris Weyl 1.37-1 +- add filtering +- auto-update to 1.37 (by cpan-spec-update 0.01) +- altered br on perl(Algorithm::Diff) (0 => 1.19) +- added a new br on perl(Exporter) (version 0) +- added a new br on perl(Test) (version 0) + +* Sun Jul 26 2009 Fedora Release Engineering - 0.35-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.35-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.35-6 +- Rebuild for perl 5.10 (again) + +* Thu Jan 24 2008 Tom "spot" Callaway 0.35-5 +- rebuild for new perl + +* Wed Apr 18 2007 Steven Pritchard 0.35-4 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + +* Mon Aug 28 2006 Steven Pritchard 0.35-3 +- Improve Summary, description, and Source0 URL. +- Fix find option ordering. +- Don't generate license texts. + +* Fri Sep 16 2005 Steven Pritchard 0.35-2 +- Minor spec cleanup. + +* Sat Aug 27 2005 Steven Pritchard 0.35-1 +- Specfile autogenerated.