Name: perl-Devel-SmallProf Version: 2.02 Release: 44%{?dist} Summary: Per-line Perl profiler License: GPL+ or Artistic URL: https://metacpan.org/release/Devel-SmallProf Source0: https://cpan.metacpan.org/authors/id/S/SA/SALVA/Devel-SmallProf-%{version}.tar.gz # defined() should not be used for array RT#98192 Patch1: Devel-SmallProf-2.02-Don-t-use-defined-array.patch # Adapt to Perl 5.28.0, CPAN RT#125709 Patch2: Devel-SmallProf-2.02-Remove-DB-sub-declaration.patch # Fix loading ./.smallprof, CPAN RT#121134 Patch3: Devel-SmallProf-2.02-Fix-Perl-5.26-support-without-.-in-INC.patch BuildArch: noarch BuildRequires: coreutils # For iconv BuildRequires: glibc-common BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(strict) BuildRequires: perl(Time::HiRes) # Tests: BuildRequires: perl(Test::More) # Optional tests: # Test::Pod not used if login is not salva Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Filter bogus provide of perl(DB) %global __provides_exclude ^perl\\(DB\\) %description The Devel::SmallProf profiler is focused on the time taken for a program run on a line-by-line basis. It is intended to be as "small" in terms of impact on the speed and memory usage of the profiled program as possible and also in terms of being simple to use. %prep %setup -q -n Devel-SmallProf-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 iconv -f iso8859-1 -t utf-8 README >README.conv && mv -f README.conv README %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README TODO %{perl_vendorlib}/Devel/ %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 2.02-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 2.02-43 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.02-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.02-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 2.02-40 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.02-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.02-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 2.02-37 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.02-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.02-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 2.02-34 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.02-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.02-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 2.02-31 - Perl 5.28 rebuild * Fri Jun 29 2018 Petr Pisar - 2.02-30 - Adapt to Perl 5.28.0, (CPAN RT#125709) - Fix loading ./.smallprof (CPAN RT#121134) * Wed Jun 27 2018 Jitka Plesnikova - 2.02-29 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 2.02-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.02-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 2.02-26 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.02-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 2.02-24 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.02-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.02-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 2.02-21 - Perl 5.22 rebuild * Thu Apr 23 2015 Jitka Plesnikova - 2.02-20 - Fixed RT#98192 - Modernize spec * Wed Aug 27 2014 Jitka Plesnikova - 2.02-19 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.02-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 2.02-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 2.02-16 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.02-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 2.02-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 2.02-13 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.02-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 2.02-11 - Perl mass rebuild * Tue Apr 19 2011 Paul Howarth - 2.02-10 - Make the provides filter work with rpm 4.9 too * Tue Feb 08 2011 Fedora Release Engineering - 2.02-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 2.02-8 - Rebuild to fix problems with vendorarch/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova - 2.02-7 - Mass rebuild with perl-5.12.0 * Fri Apr 30 2010 Marcela Maslanova - 2.02-6 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 2.02-5 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 2.02-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.02-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Jan 23 2009 Iain Arnell 2.02-2 - strip bogus provides * Wed Jan 21 2009 Iain Arnell 2.02-1 - Specfile autogenerated by cpanspec 1.77.