Name: perl-String-Diff Version: 0.07 Release: 22%{?dist} Summary: Simple diff to String License: GPL+ or Artistic URL: https://metacpan.org/release/String-Diff Source0: https://cpan.metacpan.org/authors/id/Y/YA/YAPPO/String-Diff-%{version}.tar.gz # ghpr#3 Patch0: String-Diff-0.07-podspell.patch Patch1: String-Diff-0.07-Fix-the-test-suite-for-YAML-1.21-compatibility.patch BuildArch: noarch # Build BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::GithubMeta) BuildRequires: perl(Module::Install::ReadmeFromPod) BuildRequires: perl(Module::Install::ReadmeMarkdownFromPod) BuildRequires: perl(Module::Install::Repository) BuildRequires: perl(YAML) # Runtime BuildRequires: perl(Algorithm::Diff) # Preferred but currently unavailable: # BuildRequires: perl(Algorithm::Diff::XS) BuildRequires: perl(base) BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests only BuildRequires: perl(Test::Base) BuildRequires: perl(Test::More) BuildRequires: perl(utf8) # Optional tests only BuildRequires: perl(Test::Perl::Critic) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Spelling) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Algorithm::Diff) # The XS variant is preferred by default, with PP as a fallback: Recommends: perl(Algorithm::Diff::XS) %description String::Diff is the difference of a consecutive string is made. after general diff is done, the difference in the line is searchable. %prep %setup -q -n String-Diff-%{version} %patch0 -p1 %patch1 -p1 %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 Jul 22 2022 Fedora Release Engineering - 0.07-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.07-21 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.07-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.07-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 0.07-18 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.07-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.07-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.07-15 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.07-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.07-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.07-12 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.07-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.07-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.07-9 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.07-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.07-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.07-6 - Perl 5.26 rebuild * Thu Feb 16 2017 Jitka Plesnikova - 0.07-5 - Fix the test suite for YAML 1.21 compatibility (bug #1409842) * Sat Feb 11 2017 Fedora Release Engineering - 0.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.07-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Sep 24 2015 Petr Šabata - 0.07-1 - 0.07 bump - Modernize the spec file - Package the license text - Add a weak dependency on Algorithm::Diff::XS * Thu Jun 18 2015 Fedora Release Engineering - 0.06-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.06-7 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 0.06-6 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.06-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.06-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Aug 02 2013 Petr Pisar - 0.06-3 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.06-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 29 2012 Iain Arnell 0.06-1 - update to latest upstream version - drop rt76371 patch * Fri Jul 20 2012 Fedora Release Engineering - 0.05-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 25 2012 Petr Pisar - 0.05-2 - Perl 5.16 rebuild * Sat Jun 23 2012 Iain Arnell 0.05-1 - update to latest upstream version - don't remove inc/ - clean up spec for modern rpmbuild - add temporary workaround for RT#76371 * Tue Jun 12 2012 Petr Pisar - 0.04-10 - Perl 5.16 rebuild - Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering - 0.04-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jun 29 2011 Marcela Mašláňová - 0.04-8 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 0.04-6 - 661697 rebuild for fixing problems with vendorach/lib * Thu May 06 2010 Marcela Maslanova - 0.04-5 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.04-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.04-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 29 2009 Iain Arnell 0.04-2 - explain explicit requires * Tue Apr 28 2009 Iain Arnell 0.04-1 - Specfile autogenerated by cpanspec 1.77.