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