Name: perl-String-Similarity Version: 1.04 Release: 36%{?dist} Summary: Calculates the similarity of two strings License: GPLv2+ URL: https://metacpan.org/release/String-Similarity Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/String-Similarity-%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description The similarity function calculates the similarity index of its two arguments. A value of 0 means that the strings are entirely different. A value of 1 means that the strings are identical. Everything else lies between 0 and 1 and describes the amount of similarity between the strings. %prep %setup -q -n String-Similarity-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes COPYING README %{perl_vendorarch}/auto/* %{perl_vendorarch}/String* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.04-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.04-35 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.04-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.04-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.04-32 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.04-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.04-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.04-29 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.04-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.04-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.04-26 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.04-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.04-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.04-23 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.04-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.04-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.04-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.04-19 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.04-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 1.04-17 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.04-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.04-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.04-14 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.04-13 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.04-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.04-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.04-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.04-9 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.04-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 07 2012 Petr Pisar - 1.04-6 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jun 09 2011 Marcela Mašláňová - 1.04-4 - Perl 5.14 mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.04-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 19 2011 Rüdiger Landmann 1.04-2 - Correct license - remove unnecessary cleaning of build root from spec file * Mon Jan 17 2011 Rüdiger Landmann 1.04-1 - Specfile autogenerated by cpanspec 1.78.