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