Blame SPECS/perl-ExtUtils-CBuilder.spec

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