Chris Weyl f4a0db3
Name:           perl-CGI-Compile
Chris Weyl f4a0db3
Summary:        Compile .cgi scripts to a code reference like ModPerl::Registry
9914479
Version:        0.22
4b49bb5
Release:        11%{?dist}
Chris Weyl f4a0db3
License:        GPL+ or Artistic
8976a2e
5024c21
Source0:        https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz 
5024c21
URL:            https://metacpan.org/release/CGI-Compile
Chris Weyl f4a0db3
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl f4a0db3
BuildArch:      noarch
98c6ba5
Patch0:         CGI-Compile-0.22-Fix-building-on-Perl-without-dot-in-INC.patch
Chris Weyl f4a0db3
4a3ea25
BuildRequires:  perl-interpreter
c94ee7e
BuildRequires:  perl-generators
c266920
BuildRequires:  perl(Module::Build::Tiny) >= 0.034
c266920
BuildRequires:  perl(strict)
c266920
BuildRequires:  perl(warnings)
c266920
BuildRequires:  sed
c266920
# Run-time:
c266920
BuildRequires:  perl(Cwd)
c266920
BuildRequires:  perl(File::Basename)
c266920
BuildRequires:  perl(File::Path)
Chris Weyl f4a0db3
BuildRequires:  perl(File::pushd)
c266920
BuildRequires:  perl(File::Spec)
c266920
BuildRequires:  perl(File::Spec::Functions)
c266920
BuildRequires:  perl(File::Temp)
c266920
# Tests:
c266920
BuildRequires:  perl(base)
c266920
BuildRequires:  perl(Exporter)
c266920
BuildRequires:  perl(lib)
31ef340
BuildRequires:  perl(Switch)
Chris Weyl f4a0db3
BuildRequires:  perl(Test::More)
b90796a
BuildRequires:  perl(Test::NoWarnings)
Chris Weyl f4a0db3
BuildRequires:  perl(Test::Requires)
c266920
# Optional tests:
c266920
BuildRequires:  perl(CGI)
91d75f8
%if !%{defined perl_bootstrap}
91d75f8
# Break build-cycle: perl-Plack → perl-CGI-Compile → perl-Plack
c266920
BuildRequires:  perl(CGI::Emulate::PSGI)
c266920
BuildRequires:  perl(HTTP::Request::Common)
c266920
BuildRequires:  perl(Plack::Test)
91d75f8
%endif
c266920
# Test::Pod 1.41 not used
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%{?perl_default_filter}
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%description
Chris Weyl f4a0db3
CGI::Compile is an utility to compile CGI scripts into a code reference
Chris Weyl f4a0db3
that can run many times on its own namespace, as long as the script is
Chris Weyl f4a0db3
ready to run on a persistent environment.
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%prep
Chris Weyl f4a0db3
%setup -q -n CGI-Compile-%{version}
98c6ba5
%patch0 -p1 -b .inc
98c6ba5
8976a2e
sed -i 's/\r//' t/data_crlf.cgi t/end_crlf.cgi
2ff7efc
sed -i -e '1s,#!.*perl,#!%{__perl},' t/*.t
8976a2e
Chris Weyl f4a0db3
%build
1f752f0
%{__perl} Build.PL --installdirs vendor
1f752f0
./Build
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%install
c11cf2b
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
Chris Weyl f4a0db3
%{_fixperms} %{buildroot}/*
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%check
1f752f0
./Build test
Chris Weyl f4a0db3
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%files
162015d
%doc Changes README t/
Chris Weyl f4a0db3
%{perl_vendorlib}/*
Chris Weyl f4a0db3
%{_mandir}/man3/*.3*
Chris Weyl f4a0db3
Chris Weyl f4a0db3
%changelog
4b49bb5
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-11
4b49bb5
- Perl 5.30 rebuild
4b49bb5
11914bd
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-10
11914bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
11914bd
1b0b64c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-9
1b0b64c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1b0b64c
2d79a0b
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-8
2d79a0b
- Perl 5.28 re-rebuild of bootstrapped packages
2d79a0b
b15f873
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-7
b15f873
- Perl 5.28 rebuild
b15f873
a94d3a8
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-6
a94d3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a94d3a8
5397c98
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-5
5397c98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5397c98
1f5ef6c
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-4
1f5ef6c
- Perl 5.26 re-rebuild of bootstrapped packages
1f5ef6c
8552ace
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-3
8552ace
- Perl 5.26 rebuild
8552ace
98c6ba5
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-2
98c6ba5
- Fix building on Perl without '.' in @INC
98c6ba5
9914479
* Mon Feb 06 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.22-1
9914479
- Update to 0.22
9914479
e1e3d52
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-5
e1e3d52
- Perl 5.24 re-rebuild of bootstrapped packages
e1e3d52
cffe6b1
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-4
cffe6b1
- Perl 5.24 rebuild
cffe6b1
def32ff
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-3
def32ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
def32ff
c266920
* Mon Jan 11 2016 Petr Pisar <ppisar@redhat.com> - 0.21-2
c266920
- Specify all dependencies
91d75f8
- Break build-cycle: perl-Plack → perl-CGI-Compile → perl-Plack
c266920
31ef340
* Sat Jan 02 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.21-1
31ef340
- Update to 0.21
31ef340
c11cf2b
* Sat Oct 31 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.20-1
c11cf2b
- Update to 0.20
c11cf2b
0a2dfdb
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
0a2dfdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0a2dfdb
b57634b
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-2
b57634b
- Perl 5.22 rebuild
b57634b
2ff7efc
* Sun Mar 08 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.19-1
2ff7efc
- Update to 0.19
2ff7efc
c9d459e
* Sun Nov 02 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.18-1
c9d459e
- Update to 0.18
c9d459e
5bf04f8
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-3
5bf04f8
- Perl 5.20 rebuild
5bf04f8
2968300
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
2968300
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2968300
1f752f0
* Sun May 25 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.17-1
1f752f0
- Update to 0.17
1f752f0
8644f95
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
8644f95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8644f95
53dd773
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.16-2
53dd773
- Perl 5.18 rebuild
53dd773
8976a2e
* Sun Mar 17 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 0.16-1
8976a2e
- Update to 0.16
8976a2e
5676edc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-6
5676edc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5676edc
2b78914
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-5
2b78914
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2b78914
d8e1bbd
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.15-4
d8e1bbd
- Perl 5.16 rebuild
d8e1bbd
162015d
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.15-3
162015d
- drop tests subpackage; move tests to main package documentation
162015d
fc5cf3b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
fc5cf3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fc5cf3b
b90796a
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.15-1
b90796a
- update to latest upstream version
b90796a
- clean up spec for modern rpmbuild
b90796a
Marcela Mašláňová 12db9b6
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-5
Marcela Mašláňová 12db9b6
- Perl mass rebuild
Marcela Mašláňová 12db9b6
3d8e41f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
3d8e41f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3d8e41f
eddaacb
* Wed Dec 08 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.11-3
eddaacb
- Add BR: perl(CGI) (Fix FTBFS: BZ 660891).
eddaacb
949a424
* Tue Jun 22 2010 Petr Pisar <ppisar@redhat.com> - 0.11-2
949a424
- Rebuild against perl-5.12
949a424
Chris Weyl f4a0db3
* Sat Mar 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11-1
Chris Weyl f4a0db3
- specfile by Fedora::App::MaintainerTools 0.006
Chris Weyl f4a0db3
Chris Weyl f4a0db3