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