54d578
Name:           perl-ExtUtils-CBuilder
54d578
# Compete with perl.spec
54d578
Epoch:          1
54d578
# Mimic perl.spec
54d578
Version:        0.280231
54d578
Release:        439%{?dist}
54d578
Summary:        Compile and link C code for Perl modules
54d578
License:        GPL+ or Artistic
54d578
URL:            https://metacpan.org/release/ExtUtils-CBuilder
54d578
Source0:        https://cpan.metacpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-%{version}.tar.gz
54d578
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
54d578
Patch0:         ExtUtils-CBuilder-0.280230-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
54d578
BuildArch:      noarch
54d578
BuildRequires:  make
54d578
BuildRequires:  perl-generators
54d578
BuildRequires:  perl-interpreter
54d578
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
54d578
BuildRequires:  perl(strict)
54d578
BuildRequires:  perl(warnings)
54d578
# Run-time:
54d578
BuildRequires:  perl-devel
54d578
BuildRequires:  perl(Config)
54d578
BuildRequires:  perl(Cwd)
54d578
BuildRequires:  perl(DynaLoader)
54d578
# ExtUtils::Mksymlists 6.30 not used at test time
54d578
BuildRequires:  perl(File::Basename)
54d578
BuildRequires:  perl(File::Path)
54d578
BuildRequires:  perl(File::Spec) >= 3.13
54d578
# File::Spec::Functions not used at test time
54d578
BuildRequires:  perl(File::Temp)
54d578
# IO::File not used at test time
54d578
BuildRequires:  perl(IPC::Cmd)
54d578
BuildRequires:  perl(Perl::OSType) >= 1
54d578
BuildRequires:  perl(Text::ParseWords)
54d578
# Optional run-time:
54d578
# C and C++ compilers are highly recommended because compiling code is the
54d578
# purpose of ExtUtils::CBuilder, bug #1547165
54d578
BuildRequires:  gcc
54d578
BuildRequires:  gcc-c++
54d578
# Tests:
54d578
BuildRequires:  perl(Test::More) >= 0.47
54d578
# vmsish not used
54d578
# C and C++ compilers are highly recommended because compiling code is the
54d578
# purpose of ExtUtils::CBuilder, bug #1547165
54d578
Requires:       gcc
54d578
Requires:       gcc-c++
54d578
Requires:       perl-devel
54d578
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
54d578
Requires:       perl(DynaLoader)
54d578
Requires:       perl(ExtUtils::Mksymlists) >= 6.30
54d578
Requires:       perl(File::Spec) >= 3.13
54d578
Requires:       perl(Perl::OSType) >= 1
54d578
54d578
%{?perl_default_filter}
54d578
# Remove under-specified dependencies
54d578
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|Perl::OSType)\\)$
54d578
54d578
%description
54d578
This module can build the C portions of Perl modules by invoking the
54d578
appropriate compilers and linkers in a cross-platform manner. It was motivated
54d578
by the Module::Build project, but may be useful for other purposes as well.
54d578
54d578
%prep
54d578
%setup -q -n ExtUtils-CBuilder-%{version}
54d578
%patch0 -p1
54d578
54d578
%build
54d578
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
54d578
%{make_build}
54d578
54d578
%install
54d578
%{make_install}
54d578
%{_fixperms} $RPM_BUILD_ROOT/*
54d578
54d578
%check
54d578
make test
54d578
54d578
%files
54d578
%license LICENSE
54d578
%doc Changes CONTRIBUTING README README.mkdn
54d578
%{perl_vendorlib}/*
54d578
%{_mandir}/man3/*
54d578
54d578
%changelog
54d578
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280231-439
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
54d578
54d578
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280231-438
54d578
- Increase release to favour standalone package
54d578
54d578
* Wed Apr 03 2019 Petr Pisar <ppisar@redhat.com> - 1:0.280231-1
54d578
- 0.280231 bump
54d578
54d578
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280230-418
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
54d578
54d578
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280230-417
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
54d578
54d578
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280230-416
54d578
- Increase release to favour standalone package
54d578
54d578
* Fri Feb 23 2018 Petr Pisar <ppisar@redhat.com> - 1:0.280230-3
54d578
- Add a dependency on gcc and gcc-c++ (bug #1547165)
54d578
54d578
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280230-2
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
54d578
54d578
* Thu Nov 23 2017 Petr Pisar <ppisar@redhat.com> - 1:0.280230-1
54d578
- 0.280230 bump
54d578
54d578
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280226-2
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
54d578
54d578
* Mon Jul 17 2017 Petr Pisar <ppisar@redhat.com> - 1:0.280226-1
54d578
- 0.280226 bump
54d578
54d578
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-393
54d578
- Perl 5.26 rebuild
54d578
54d578
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280225-366
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
54d578
54d578
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-365
54d578
- Increase release to favour standalone package
54d578
54d578
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-1
54d578
- 0.280225 bump in order to dual-live with perl 5.24
54d578
54d578
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280224-2
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
54d578
54d578
* Mon Oct 12 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280224-1
54d578
- 0.280224 bump
54d578
54d578
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.280223-3
54d578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
54d578
54d578
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280223-2
54d578
- Perl 5.22 rebuild
54d578
54d578
* Thu Jun 04 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280223-1
54d578
- 0.280223 bump
54d578
54d578
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280221-2
54d578
- Perl 5.22 rebuild
54d578
54d578
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280221-1
54d578
- 0.280221 bump in order to dual-live with perl 5.22
54d578
54d578
* Mon Nov 03 2014 Petr Pisar <ppisar@redhat.com> - 1:0.280220-1
54d578
- 0.280220 bump
54d578
54d578
* Thu Sep 18 2014 Petr Pisar <ppisar@redhat.com> - 1:0.280219-1
54d578
- Specfile autogenerated by cpanspec 1.78.