2016-05-11 13:52:21 +00:00
|
|
|
%global base_version 3.30
|
2013-04-26 13:44:36 +00:00
|
|
|
Name: perl-ExtUtils-ParseXS
|
|
|
|
# Epoch to compete with perl.spec
|
|
|
|
Epoch: 1
|
2016-05-11 13:52:21 +00:00
|
|
|
Version: 3.31
|
2016-08-03 09:41:36 +00:00
|
|
|
Release: 366%{?dist}
|
2013-04-26 13:44:36 +00:00
|
|
|
Summary: Module and a script for converting Perl XS code into C code
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/ExtUtils-ParseXS/
|
2016-05-11 13:52:21 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-%{base_version}.tar.gz
|
|
|
|
# Unbundled from perl 5.24.0
|
|
|
|
Patch0: ExtUtils-ParseXS-3.30-Upgrade-to-3.31.patch
|
2016-08-03 09:41:36 +00:00
|
|
|
# Avoid loading optional modules from default . (CVE-2016-1238)
|
|
|
|
Patch1: ExtUtils-ParseXS-3.31-CVE-2016-1238-avoid-loading-optional-modules-from.patch
|
2013-04-26 13:44:36 +00:00
|
|
|
BuildArch: noarch
|
2015-08-31 13:52:35 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
2013-04-26 13:44:36 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.46
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Cwd)
|
2013-09-02 10:52:33 +00:00
|
|
|
BuildRequires: perl(Exporter) >= 5.57
|
2013-04-26 13:44:36 +00:00
|
|
|
# ExtUtils::XSSymSet not needed
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
# Getopt::Long not tested
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl-devel
|
2016-06-24 07:41:42 +00:00
|
|
|
BuildRequires: perl-generators
|
2013-04-26 13:44:36 +00:00
|
|
|
BuildRequires: perl(attributes)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
|
BuildRequires: perl(File::Temp)
|
2015-05-06 08:41:40 +00:00
|
|
|
BuildRequires: perl(lib)
|
2013-04-26 13:44:36 +00:00
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2013-09-02 10:52:33 +00:00
|
|
|
Requires: perl(Exporter) >= 5.57
|
2013-04-26 13:44:36 +00:00
|
|
|
# perl-ExtUtils-Typemaps has been merged into perl-ExtUtils-ParseXS, bug #891952
|
|
|
|
Obsoletes: perl-ExtUtils-Typemaps
|
|
|
|
|
2013-09-02 10:52:33 +00:00
|
|
|
# Remove under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exporter\\)$
|
|
|
|
|
2013-04-26 13:44:36 +00:00
|
|
|
%description
|
|
|
|
ExtUtils::ParseXS will compile XS code into C code by embedding the
|
|
|
|
constructs necessary to let C functions manipulate Perl values and creates
|
|
|
|
the glue necessary to let Perl access those functions.
|
|
|
|
|
|
|
|
%prep
|
2016-05-11 13:52:21 +00:00
|
|
|
%setup -q -n ExtUtils-ParseXS-%{base_version}
|
|
|
|
%patch0 -p1
|
2016-08-03 09:41:36 +00:00
|
|
|
%patch1 -p1
|
2013-04-26 13:44:36 +00:00
|
|
|
|
|
|
|
%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 -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
# Do not install xsubpp twice, RT#117289
|
|
|
|
rm $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/xsubpp
|
|
|
|
ln -s ../../../../bin/xsubpp $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%{_bindir}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2016-08-03 09:41:36 +00:00
|
|
|
* Wed Aug 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.31-366
|
|
|
|
- Avoid loading optional modules from default . (CVE-2016-1238)
|
|
|
|
|
2016-05-14 10:19:54 +00:00
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.31-365
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2016-05-11 13:52:21 +00:00
|
|
|
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.31-1
|
|
|
|
- 3.31 bump in order to dual-live with perl 5.24
|
|
|
|
|
2016-04-18 11:40:29 +00:00
|
|
|
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 1:3.30-3
|
|
|
|
- Remove dependency on perl-devel (bug #1129443)
|
|
|
|
|
2016-02-04 13:34:15 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.30-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-31 13:52:35 +00:00
|
|
|
* Mon Aug 31 2015 Petr Pisar <ppisar@redhat.com> - 1:3.30-1
|
|
|
|
- 3.30 bump
|
|
|
|
|
2015-06-18 03:02:16 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.28-346
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-04 11:35:21 +00:00
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-345
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2015-06-03 13:06:30 +00:00
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-05-06 08:41:40 +00:00
|
|
|
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 1:3.28-1
|
|
|
|
- 3.28 bump in order to dual-live with perl 5.22
|
|
|
|
|
2014-08-26 07:59:24 +00:00
|
|
|
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.24-310
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2014-06-07 04:03:22 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.24-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-10 09:53:44 +00:00
|
|
|
* Mon Mar 10 2014 Petr Pisar <ppisar@redhat.com> - 1:3.24-1
|
|
|
|
- 3.24 bump
|
|
|
|
|
2013-09-02 10:52:33 +00:00
|
|
|
* Mon Sep 02 2013 Petr Pisar <ppisar@redhat.com> - 1:3.22-1
|
|
|
|
- 3.22 bump
|
|
|
|
|
2013-08-26 08:27:04 +00:00
|
|
|
* Mon Aug 26 2013 Petr Pisar <ppisar@redhat.com> - 1:3.21-1
|
|
|
|
- 3.21 bump
|
|
|
|
|
2013-08-03 20:37:22 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.18-291
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-15 11:18:50 +00:00
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:3.18-290
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2013-07-12 14:02:55 +00:00
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:3.18-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-04-26 13:44:36 +00:00
|
|
|
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 1:3.18-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|