# Perform optional tests %bcond_without perl_HTTP_Body_enables_optional_test # Perform Plack tests %bcond_with perl_HTTP_Body_enables_plack_test Name: perl-HTTP-Body Summary: HTTP Body Parser Version: 1.22 Release: 30%{?dist} # Automatically converted from old format: GPL+ or Artistic - review is highly recommended. License: GPL-1.0-or-later OR Artistic-1.0-Perl Source0: https://cpan.metacpan.org/authors/id/G/GE/GETTY/HTTP-Body-%{version}.tar.gz URL: https://metacpan.org/release/HTTP-Body BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(base) BuildRequires: perl(bytes) BuildRequires: perl(Carp) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) >= 0.14 BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Message) BuildRequires: perl(IO::File) >= 1.14 # Tests: BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(FindBin) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(lib) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.86 BuildRequires: perl(utf8) %if %{with perl_HTTP_Body_enables_optional_test} # Optional tests: %if %{with perl_HTTP_Body_enables_plack_test} BuildRequires: perl(HTTP::Message::PSGI) %endif # Test::Perl::Critic not used BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 %endif Requires: perl(IO::File) >= 1.14 %{?perl_default_filter} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(IO::File\\)$ %description A perl module for parsing the MultiPart, OctetStream, and UrlEncoded parts of an HTTP Body. %prep %setup -q -n HTTP-Body-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* %check %if %{with perl_HTTP_Body_enables_optional_test} export TEST_POD=1 %endif make test %files %doc Changes README %{perl_vendorlib}/HTTP/ %{_mandir}/man3/*.3* %changelog * Tue Aug 06 2024 Miroslav Suchý - 1.22-30 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.22-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.22-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.22-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.22-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.22-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.22-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 1.22-23 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.22-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.22-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.22-20 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.22-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.22-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.22-17 - Perl 5.32 rebuild * Wed Mar 11 2020 Petr Pisar - 1.22-16 - Specify all dependencies * Thu Jan 30 2020 Fedora Release Engineering - 1.22-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.22-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.22-13 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.22-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.22-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.22-10 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.22-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.22-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.22-7 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.22-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.22-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.22-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.22-2 - Perl 5.22 rebuild * Fri Mar 20 2015 Tom Callaway - 1.22-1 - update to 1.22 * Thu Aug 28 2014 Jitka Plesnikova - 1.07-14 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.07-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.07-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 1.07-11 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.07-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.07-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 1.07-8 - Perl 5.16 rebuild * Tue Jan 17 2012 Ralf Corsépius - 1.07-7 - Add BR: perl(Digest::MD5) (Fix mass rebuild FTBFS). * Fri Jan 13 2012 Fedora Release Engineering - 1.07-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 1.07-5 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 1.07-3 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 1.07-2 - Mass rebuild with perl-5.12.0 * Wed Mar 03 2010 Chris Weyl 1.07-1 - Plack requires >= 1.06 of this package - update by Fedora::App::MaintainerTools 0.004 - updating to latest GA CPAN version (1.07) - PERL_INSTALL_ROOT => DESTDIR - added a new br on perl(ExtUtils::MakeMaker) (version 6.42) - added a new br on perl(HTTP::Headers) (version 0) - altered br on perl(IO::File) (0 => 1.14) - added a new br on perl(Test::Deep) (version 0) - altered br on perl(Test::More) (0 => 0.86) - dropped old BR on perl(YAML) - added a new req on perl(File::Temp) (version 0.14) - added a new req on perl(IO::File) (version 1.14) - dropped old requires on perl(YAML) * Mon Dec 7 2009 Stepan Kasal - 1.05-5 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.05-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.05-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 06 2009 Chris Weyl 1.05-1 - update to 1.05 * Thu Nov 20 2008 Tom "spot" Callaway 1.04-1 - update to 1.04 * Sun Feb 3 2008 Tom "spot" Callaway 0.9-4 - disable tests due to wacky ppc builders * Sat Feb 2 2008 Tom "spot" Callaway 0.9-3 - rebuild for new perl * Sun Aug 26 2007 Tom "spot" Callaway 0.9-2 - license tag fix * Sun Apr 29 2007 Tom "spot" Callaway 0.9-1 - bump to 0.9 * Thu Sep 14 2006 Tom "spot" Callaway 0.6-3 - add TEST_POD=1 to make test * Mon Sep 11 2006 Tom "spot" Callaway 0.6-2 - enhance description - add missing BR - remove unnecessary Requires * Thu Aug 3 2006 Tom "spot" Callaway 0.6-1 - initial package for Fedora Extras