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