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