|
|
5992af |
# This file is licensed under the terms of GNU GPLv2+.
|
|
|
5992af |
|
|
|
5992af |
# Run optional test
|
|
|
5992af |
%bcond_without perl_Devel_CallChecker_enables_optional_test
|
|
|
5992af |
|
|
|
5992af |
Name: perl-Devel-CallChecker
|
|
|
5992af |
Version: 0.008
|
|
|
5992af |
Release: 3%{?dist}
|
|
|
5992af |
Summary: Custom op checking attached to subroutines
|
|
|
5992af |
License: GPL+ or Artistic
|
|
|
5992af |
Group: Development/Libraries
|
|
|
5992af |
URL: http://search.cpan.org/dist/Devel-CallChecker/
|
|
|
5992af |
Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Devel-CallChecker-%{version}.tar.gz
|
|
|
5992af |
BuildRequires: findutils
|
|
|
5992af |
BuildRequires: gcc
|
|
|
5992af |
BuildRequires: perl-devel
|
|
|
5992af |
BuildRequires: perl-generators
|
|
|
5992af |
BuildRequires: perl-interpreter
|
|
|
5992af |
BuildRequires: perl(Module::Build)
|
|
|
5992af |
BuildRequires: perl(strict)
|
|
|
5992af |
BuildRequires: perl(warnings)
|
|
|
5992af |
# Run-time
|
|
|
5992af |
BuildRequires: perl(DynaLoader)
|
|
|
5992af |
BuildRequires: perl(DynaLoader::Functions) >= 0.001
|
|
|
5992af |
BuildRequires: perl(Exporter)
|
|
|
5992af |
BuildRequires: perl(parent)
|
|
|
5992af |
# Tests
|
|
|
5992af |
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
|
|
|
5992af |
BuildRequires: perl(ExtUtils::ParseXS)
|
|
|
5992af |
BuildRequires: perl(File::Spec)
|
|
|
5992af |
BuildRequires: perl(IO::File) >= 1.03
|
|
|
5992af |
BuildRequires: perl(Test::More)
|
|
|
5992af |
%if %{with perl_Devel_CallChecker_enables_optional_test}
|
|
|
5992af |
# Optional tests
|
|
|
5992af |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
5992af |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
5992af |
BuildRequires: perl(threads)
|
|
|
5992af |
BuildRequires: perl(threads::shared)
|
|
|
5992af |
BuildRequires: perl(Thread::Semaphore)
|
|
|
5992af |
%endif
|
|
|
5992af |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
5992af |
Requires: perl(DynaLoader)
|
|
|
5992af |
Requires: perl(DynaLoader::Functions) >= 0.001
|
|
|
5992af |
|
|
|
5992af |
%{?perl_default_filter}
|
|
|
5992af |
|
|
|
5992af |
%description
|
|
|
5992af |
This module makes some new features of the Perl 5.14.0 C API available to
|
|
|
5992af |
XS modules running on older versions of Perl. The features are centered
|
|
|
5992af |
around the function cv_set_call_checker, which allows XS code to attach a
|
|
|
5992af |
magical annotation to a Perl subroutine, resulting in resolvable calls to
|
|
|
5992af |
that subroutine being mutated at compile time by arbitrary C code. This
|
|
|
5992af |
module makes cv_set_call_checker and several supporting functions
|
|
|
5992af |
available. (It is possible to achieve the effect of cv_set_call_checker
|
|
|
5992af |
from XS code on much earlier Perl versions, but it is painful to achieve
|
|
|
5992af |
without the centralized facility.)
|
|
|
5992af |
|
|
|
5992af |
%prep
|
|
|
5992af |
%setup -q -n Devel-CallChecker-%{version}
|
|
|
5992af |
|
|
|
5992af |
%build
|
|
|
5992af |
perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
|
|
5992af |
./Build
|
|
|
5992af |
|
|
|
5992af |
%install
|
|
|
5992af |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
5992af |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
5992af |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
5992af |
|
|
|
5992af |
%check
|
|
|
5992af |
./Build test
|
|
|
5992af |
|
|
|
5992af |
%files
|
|
|
5992af |
%doc Changes README
|
|
|
5992af |
%{perl_vendorarch}/auto/*
|
|
|
5992af |
%{perl_vendorarch}/Devel*
|
|
|
5992af |
%{_mandir}/man3/*
|
|
|
5992af |
|
|
|
5992af |
%changelog
|
|
|
5992af |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-3
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-2
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Wed Jul 26 2017 Petr Pisar <ppisar@redhat.com> - 0.008-1
|
|
|
5992af |
- 0.008 bump
|
|
|
5992af |
|
|
|
5992af |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.007-7
|
|
|
5992af |
- Perl 5.26 rebuild
|
|
|
5992af |
|
|
|
5992af |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.007-6
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.007-5
|
|
|
5992af |
- Perl 5.24 rebuild
|
|
|
5992af |
|
|
|
5992af |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.007-4
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-3
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.007-2
|
|
|
5992af |
- Perl 5.22 rebuild
|
|
|
5992af |
|
|
|
5992af |
* Mon Mar 23 2015 Petr Pisar <ppisar@redhat.com> - 0.007-1
|
|
|
5992af |
- 0.007 bump
|
|
|
5992af |
|
|
|
5992af |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.006-4
|
|
|
5992af |
- Perl 5.20 rebuild
|
|
|
5992af |
|
|
|
5992af |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-3
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-2
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Mon Sep 23 2013 Petr Pisar <ppisar@redhat.com> - 0.006-1
|
|
|
5992af |
- 0.006 bump
|
|
|
5992af |
- This version should be compatible with any binary compatible perl version
|
|
|
5992af |
(bug #754159)
|
|
|
5992af |
|
|
|
5992af |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005-6
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.005-5
|
|
|
5992af |
- Perl 5.18 rebuild
|
|
|
5992af |
|
|
|
5992af |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005-4
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005-3
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.005-2
|
|
|
5992af |
- Perl 5.16 rebuild
|
|
|
5992af |
|
|
|
5992af |
* Mon Feb 13 2012 Petr Pisar <ppisar@redhat.com> - 0.005-1
|
|
|
5992af |
- 0.005 bump
|
|
|
5992af |
|
|
|
5992af |
* Thu Feb 02 2012 Petr Pisar <ppisar@redhat.com> - 0.004-1
|
|
|
5992af |
- 0.004 bump
|
|
|
5992af |
|
|
|
5992af |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-3
|
|
|
5992af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5992af |
|
|
|
5992af |
* Tue Nov 15 2011 Petr Pisar <ppisar@redhat.com> - 0.003-2
|
|
|
5992af |
- Rebuild against Perl 5.14.2 (bug #754159)
|
|
|
5992af |
|
|
|
5992af |
* Mon Jul 11 2011 Petr Pisar <ppisar@redhat.com> 0.003-1
|
|
|
5992af |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
5992af |
- Remove BuildRoot and defattr
|