|
|
|
@ -1,12 +1,15 @@
|
|
|
|
|
# Perform optional tests
|
|
|
|
|
%bcond_without perl_Inline_C_enables_optional_tests
|
|
|
|
|
|
|
|
|
|
Name: perl-Inline-C
|
|
|
|
|
Version: 0.81
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Version: 0.82
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Write Perl subroutines in C
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Inline-C
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/Inline-C-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETJ/Inline-C-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
@ -16,7 +19,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 7.00
|
|
|
|
|
BuildRequires: perl(File::ShareDir::Install)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Runtime
|
|
|
|
|
# Runtime:
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -28,13 +31,13 @@ BuildRequires: perl(Fcntl)
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.8
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
|
BuildRequires: perl(Inline) >= 0.83
|
|
|
|
|
BuildRequires: perl(Inline) >= 0.86
|
|
|
|
|
# Inline::Filters and Inline::Struct are optional and introduce circular deps
|
|
|
|
|
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
|
|
|
|
BuildRequires: perl(Pegex::Base)
|
|
|
|
|
BuildRequires: perl(Pegex::Parser)
|
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
|
# Tests only
|
|
|
|
|
# Tests only:
|
|
|
|
|
BuildRequires: perl(autodie)
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
# t/27inline_maker.t uses example/modules/Boo-2.01 that uses Inline::MakeMaker
|
|
|
|
@ -50,9 +53,12 @@ BuildRequires: perl(IPC::Cmd)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
# Test::Pod 1.41 not used
|
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.23
|
|
|
|
|
BuildRequires: perl(version) >= 0.77
|
|
|
|
|
BuildRequires: perl(YAML::XS)
|
|
|
|
|
%if %{with perl_Inline_C_enables_optional_tests}
|
|
|
|
|
# Optional tests only:
|
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.23
|
|
|
|
|
%endif
|
|
|
|
|
# It executes C compiler to build generated XS code
|
|
|
|
|
Requires: gcc
|
|
|
|
|
# It executes make
|
|
|
|
@ -65,7 +71,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
|
Requires: perl(FindBin)
|
|
|
|
|
Requires: perl(File::Spec) >= 0.8
|
|
|
|
|
Requires: perl(Inline) >= 0.83
|
|
|
|
|
Requires: perl(Inline) >= 0.86
|
|
|
|
|
Requires: perl(Parse::RecDescent) >= 1.967009
|
|
|
|
|
Requires: perl(Time::HiRes)
|
|
|
|
|
# Split from Inline in 0.58
|
|
|
|
@ -103,6 +109,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Mar 02 2022 Petr Pisar <ppisar@redhat.com> - 0.82-1
|
|
|
|
|
- 0.82 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.81-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|