Name: perl-CGI-Application-Plugin-RateLimit Version: 1.0 Release: 36%{?dist} Summary: Limits runmode call rate per user License: GPL+ or Artistic URL: https://metacpan.org/release/CGI-Application-Plugin-RateLimit Source0: https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/CGI-Application-Plugin-RateLimit-%{version}.tar.gz # Fix a race in tests that depends on a time frame Patch0: CGI-Application-Plugin-RateLimit-1.0-Skip-some-test-if-run-time-execeeds-a-time-frame.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(CGI) BuildRequires: perl(CGI::Application) BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(DBD::SQLite) BuildRequires: perl(DBI) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) Requires: perl(CGI::Application) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module provides protection against a user calling a runmode too frequently. A typical use-case might be a contact form that sends email. You'd like to allow your users to send you messages, but thousands of messages from a single user would be a problem. %prep %setup -q -n CGI-Application-Plugin-RateLimit-%{version} %patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.0-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.0-35 - Perl 5.36 rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.0-32 - Perl 5.34 rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.0-29 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.0-26 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.0-23 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.0-20 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.0-18 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.0-15 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 1.0-14 - Perl 5.20 rebuild * Mon Jul 21 2014 Petr Pisar - 1.0-13 - Fix a race in tests that depends on a time frame really (bug #1104721) * Sat Jun 07 2014 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Jun 05 2014 Petr Pisar - 1.0-11 - Fix a race in tests that depends on a time frame (bug #1104721) * Sat Aug 03 2013 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 24 2013 Petr Pisar - 1.0-9 - Perl 5.18 rebuild * Sun Feb 24 2013 Emmanuel Seyman - 1.0-8 - Remove the Group macro (no longer needed) * Thu Feb 14 2013 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 19 2012 Petr Pisar - 1.0-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 1.0-3 - Perl mass rebuild * Sat May 14 2011 Emmanuel Seyman - 1.0-2 - Clean up spec as per package review (#701183) * Thu Nov 25 2010 Emmanuel Seyman 1.0-1 - Specfile autogenerated by cpanspec 1.78.