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