f93c16
%global base_version 3.35
f93c16
Name:           perl-ExtUtils-ParseXS
f93c16
# Epoch to compete with perl.spec
f93c16
Epoch:          1
f93c16
Version:        3.40
f93c16
Release:        439%{?dist}
f93c16
Summary:        Module and a script for converting Perl XS code into C code
f93c16
License:        GPL+ or Artistic
f93c16
URL:            https://metacpan.org/release/ExtUtils-ParseXS
f93c16
Source0:        https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-%{base_version}.tar.gz
f93c16
# Unbundled from perl 5.28.0-RC1
f93c16
Patch0:         ExtUtils-ParseXS-3.35-Upgrade-to-3.39.patch
f93c16
# Unbundled from perl 5.29.10
f93c16
# Fix generating Perl prototypes for XS functions with OUTLIST parameters,
f93c16
# RT#133654
f93c16
Patch1:         ExtUtils-ParseXS-3.39-Upgrade-to-3.40.patch
f93c16
BuildArch:      noarch
f93c16
BuildRequires:  coreutils
f93c16
BuildRequires:  make
f93c16
BuildRequires:  perl-devel
f93c16
BuildRequires:  perl-generators
f93c16
BuildRequires:  perl-interpreter
f93c16
BuildRequires:  perl(Config)
f93c16
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
f93c16
BuildRequires:  perl(File::Spec)
f93c16
BuildRequires:  perl(strict)
f93c16
BuildRequires:  perl(warnings)
f93c16
# Run-time:
f93c16
BuildRequires:  perl(Cwd)
f93c16
BuildRequires:  perl(Exporter) >= 5.57
f93c16
# ExtUtils::XSSymSet not needed
f93c16
BuildRequires:  perl(File::Basename)
f93c16
# Getopt::Long not tested
f93c16
BuildRequires:  perl(re)
f93c16
BuildRequires:  perl(Symbol)
f93c16
# Tests:
f93c16
BuildRequires:  perl(attributes)
f93c16
BuildRequires:  perl(Carp)
f93c16
BuildRequires:  perl(DynaLoader)
f93c16
BuildRequires:  perl(ExtUtils::CBuilder)
f93c16
BuildRequires:  perl(File::Temp)
f93c16
BuildRequires:  perl(lib)
f93c16
BuildRequires:  perl(overload)
f93c16
BuildRequires:  perl(Test::More) >= 0.47
f93c16
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
f93c16
Requires:       perl(Exporter) >= 5.57
f93c16
f93c16
# Remove under-specified dependencies
f93c16
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exporter\\)$
f93c16
f93c16
%description
f93c16
ExtUtils::ParseXS will compile XS code into C code by embedding the
f93c16
constructs necessary to let C functions manipulate Perl values and creates
f93c16
the glue necessary to let Perl access those functions.
f93c16
f93c16
%prep
f93c16
%setup -q -n ExtUtils-ParseXS-%{base_version}
f93c16
%patch0 -p1
f93c16
%patch1 -p1
f93c16
f93c16
%build
f93c16
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
f93c16
make %{?_smp_mflags}
f93c16
f93c16
%install
f93c16
make pure_install DESTDIR=$RPM_BUILD_ROOT
f93c16
%{_fixperms} $RPM_BUILD_ROOT/*
f93c16
# Do not install xsubpp twice, RT#117289
f93c16
rm $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/xsubpp
f93c16
ln -s ../../../../bin/xsubpp $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/
f93c16
f93c16
%check
f93c16
make test
f93c16
f93c16
%files
f93c16
%doc Changes README
f93c16
%{_bindir}/*
f93c16
%{perl_vendorlib}/*
f93c16
%{_mandir}/man1/*
f93c16
%{_mandir}/man3/*
f93c16
f93c16
%changelog
f93c16
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.40-439
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f93c16
f93c16
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.40-438
f93c16
- Increase release to favour standalone package
f93c16
f93c16
* Thu May 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.40-1
f93c16
- Upgrade to 3.40 as provided in perl-5.29.10
f93c16
f93c16
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.39-419
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f93c16
f93c16
* Wed Dec 05 2018 Petr Pisar <ppisar@redhat.com> - 1:3.39-418
f93c16
- Fix generating Perl prototypes for XS functions with OUTLIST parameters
f93c16
  (RT#133654)
f93c16
f93c16
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.39-417
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f93c16
f93c16
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.39-416
f93c16
- Increase release to favour standalone package
f93c16
f93c16
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.39-1
f93c16
- Upgrade to 3.39 as provided in perl-5.28.0-RC1
f93c16
f93c16
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-2
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f93c16
f93c16
* Tue Aug 01 2017 Petr Pisar <ppisar@redhat.com> - 1:3.35-1
f93c16
- 3.35 bump
f93c16
f93c16
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.34-394
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f93c16
f93c16
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.34-393
f93c16
- Perl 5.26 rebuild
f93c16
f93c16
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 1:3.34-1
f93c16
- Upgrade to 3.34 as provided in perl-5.25.12
f93c16
f93c16
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.31-368
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f93c16
f93c16
* Tue Sep 13 2016 Petr Pisar <ppisar@redhat.com> - 1:3.31-367
f93c16
- Remove old obsoleting perl-ExtUtils-Typemaps
f93c16
f93c16
* Wed Aug 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.31-366
f93c16
- Avoid loading optional modules from default . (CVE-2016-1238)
f93c16
f93c16
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.31-365
f93c16
- Increase release to favour standalone package
f93c16
f93c16
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.31-1
f93c16
- 3.31 bump in order to dual-live with perl 5.24
f93c16
f93c16
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 1:3.30-3
f93c16
- Remove dependency on perl-devel (bug #1129443)
f93c16
f93c16
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.30-2
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f93c16
f93c16
* Mon Aug 31 2015 Petr Pisar <ppisar@redhat.com> - 1:3.30-1
f93c16
- 3.30 bump
f93c16
f93c16
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.28-346
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f93c16
f93c16
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-345
f93c16
- Increase release to favour standalone package
f93c16
f93c16
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-2
f93c16
- Perl 5.22 rebuild
f93c16
f93c16
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 1:3.28-1
f93c16
- 3.28 bump in order to dual-live with perl 5.22
f93c16
f93c16
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.24-310
f93c16
- Perl 5.20 rebuild
f93c16
- Increase release to favour standalone package
f93c16
f93c16
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.24-2
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f93c16
f93c16
* Mon Mar 10 2014 Petr Pisar <ppisar@redhat.com> - 1:3.24-1
f93c16
- 3.24 bump
f93c16
f93c16
* Mon Sep 02 2013 Petr Pisar <ppisar@redhat.com> - 1:3.22-1
f93c16
- 3.22 bump
f93c16
f93c16
* Mon Aug 26 2013 Petr Pisar <ppisar@redhat.com> - 1:3.21-1
f93c16
- 3.21 bump
f93c16
f93c16
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.18-291
f93c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f93c16
f93c16
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:3.18-290
f93c16
- Increase release to favour standalone package
f93c16
f93c16
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:3.18-2
f93c16
- Perl 5.18 rebuild
f93c16
f93c16
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 1:3.18-1
f93c16
- Specfile autogenerated by cpanspec 1.78.