# Perform optional tests %bcond_without perl_Business_Stripe_enables_optional_test Name: perl-Business-Stripe Version: 0.07 Release: 12%{?dist} Summary: Interface for Stripe payment system License: GPL+ or Artistic URL: https://metacpan.org/release/Business-Stripe Source0: https://cpan.metacpan.org/modules/by-module/Business/Business-Stripe-%{version}.tar.gz BuildArch: noarch %if !%{with perl_Business_Stripe_enables_optional_test} BuildRequires: coreutils %endif BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(constant) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(JSON) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(MIME::Base64) # Tests BuildRequires: perl(Test::More) %if %{with perl_Business_Stripe_enables_optional_test} BuildRequires: perl(Test::Pod) >= 1.22 %endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This package provides Perl bindings for Stripe payment system. Any API calls that do not have bindings can be access through the generic api method. %prep %setup -q -n Business-Stripe-%{version} %if !%{with perl_Business_Stripe_enables_optional_test} rm t/pod.t perl -i -ne 'print $_ unless m{^t/pod.t}' MANIFEST %endif %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.07-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.07-11 - Perl 5.36 rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.07-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.07-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.07-8 - Perl 5.34 rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.07-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.07-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.07-5 - Perl 5.32 rebuild * Tue Mar 10 2020 Petr Pisar - 0.07-4 - Modernize a spec file * Wed Jan 29 2020 Fedora Release Engineering - 0.07-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jul 22 2019 Jitka Plesnikova - 0.07-1 - 0.07 bump * Fri May 31 2019 Jitka Plesnikova - 0.06-9 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.06-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.06-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.06-6 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.06-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.06-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.06-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.06-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 09 2016 Jitka Plesnikova - 0.06-1 - 0.06 bump * Sun May 15 2016 Jitka Plesnikova - 0.05-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 26 2016 Jitka Plesnikova - 0.05-1 - 0.05 bump * Thu Jun 18 2015 Fedora Release Engineering - 0.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.04-4 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.04-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Mar 30 2014 David Dick - 0.04-1 - Initial release