9199d9
%global base_version 0.280224
9199d9
Name:           perl-ExtUtils-CBuilder
9199d9
# Compete with perl.spec
9199d9
Epoch:          1
9199d9
# Mimic perl.spec
9199d9
Version:        0.280225
9199d9
Release:        367%{?dist}
9199d9
Summary:        Compile and link C code for Perl modules
9199d9
License:        GPL+ or Artistic
9199d9
Group:          Development/Libraries
9199d9
URL:            http://search.cpan.org/dist/ExtUtils-CBuilder/
9199d9
Source0:        http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-%{base_version}.tar.gz
9199d9
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
9199d9
Patch0:         ExtUtils-CBuilder-0.280219-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
9199d9
# Unbundled from perl 5.24.0
9199d9
Patch1:         ExtUtils-CBuilder-0.280224-Upgrade-to-0.280225.patch
9199d9
BuildArch:      noarch
9199d9
BuildRequires:  findutils
9199d9
BuildRequires:  make
9199d9
BuildRequires:  perl
9199d9
BuildRequires:  perl-generators
9199d9
BuildRequires:  perl(ExtUtils::MakeMaker)
9199d9
BuildRequires:  perl(strict)
9199d9
BuildRequires:  perl(warnings)
9199d9
# Run-time:
9199d9
BuildRequires:  perl(Config)
9199d9
BuildRequires:  perl(Cwd)
9199d9
BuildRequires:  perl(DynaLoader)
9199d9
# ExtUtils::Mksymlists 6.30 not used at test time
9199d9
BuildRequires:  perl(File::Basename)
9199d9
BuildRequires:  perl(File::Path)
9199d9
BuildRequires:  perl(File::Spec) >= 3.13
9199d9
# File::Spec::Functions not used at test time
9199d9
BuildRequires:  perl(File::Temp)
9199d9
# IO::File not used at test time
9199d9
BuildRequires:  perl(IPC::Cmd)
9199d9
BuildRequires:  perl(Perl::OSType) >= 1
9199d9
BuildRequires:  perl(Text::ParseWords)
9199d9
BuildRequires:  perl(vars)
9199d9
BuildRequires:  perl-devel
9199d9
# Tests:
9199d9
BuildRequires:  perl(Test::More) >= 0.47
9199d9
# vmsish not used
9199d9
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9199d9
Requires:       perl(DynaLoader)
9199d9
Requires:       perl(ExtUtils::Mksymlists) >= 6.30
9199d9
Requires:       perl(File::Spec) >= 3.13
9199d9
Requires:       perl(Perl::OSType) >= 1
9199d9
Requires:       perl-devel
9199d9
9199d9
%{?perl_default_filter}
9199d9
# Remove under-specified dependencies
9199d9
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|Perl::OSType)\\)$
9199d9
9199d9
%description
9199d9
This module can build the C portions of Perl modules by invoking the
9199d9
appropriate compilers and linkers in a cross-platform manner. It was motivated
9199d9
by the Module::Build project, but may be useful for other purposes as well.
9199d9
9199d9
%prep
9199d9
%setup -q -n ExtUtils-CBuilder-%{base_version}
9199d9
%patch0 -p1
9199d9
%patch1 -p1
9199d9
9199d9
%build
9199d9
perl Makefile.PL INSTALLDIRS=vendor
9199d9
make %{?_smp_mflags}
9199d9
9199d9
%install
9199d9
make pure_install DESTDIR=$RPM_BUILD_ROOT
9199d9
find $RPM_BUILD_ROOT -type f -name .packlist -delete
9199d9
%{_fixperms} $RPM_BUILD_ROOT/*
9199d9
9199d9
%check
9199d9
make test
9199d9
9199d9
%files
9199d9
%license LICENSE
9199d9
%doc Changes CONTRIBUTING README README.mkdn
9199d9
%{perl_vendorlib}/*
9199d9
%{_mandir}/man3/*
9199d9
9199d9
%changelog
9199d9
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-367
9199d9
- Rebuild with enable hardening (bug #1636329)
9199d9
9199d9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280225-366
9199d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9199d9
9199d9
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-365
9199d9
- Increase release to favour standalone package
9199d9
9199d9
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-1
9199d9
- 0.280225 bump in order to dual-live with perl 5.24
9199d9
9199d9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280224-2
9199d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9199d9
9199d9
* Mon Oct 12 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280224-1
9199d9
- 0.280224 bump
9199d9
9199d9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.280223-3
9199d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9199d9
9199d9
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280223-2
9199d9
- Perl 5.22 rebuild
9199d9
9199d9
* Thu Jun 04 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280223-1
9199d9
- 0.280223 bump
9199d9
9199d9
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280221-2
9199d9
- Perl 5.22 rebuild
9199d9
9199d9
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280221-1
9199d9
- 0.280221 bump in order to dual-live with perl 5.22
9199d9
9199d9
* Mon Nov 03 2014 Petr Pisar <ppisar@redhat.com> - 1:0.280220-1
9199d9
- 0.280220 bump
9199d9
9199d9
* Thu Sep 18 2014 Petr Pisar <ppisar@redhat.com> - 1:0.280219-1
9199d9
- Specfile autogenerated by cpanspec 1.78.