From 54a1f3bbb1262238886d7619af218104d14a56e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 2 Mar 2022 17:31:24 +0100 Subject: [PATCH] 0.82 bump --- .gitignore | 1 + perl-Inline-C.rpmlintrc | 3 +-- perl-Inline-C.spec | 27 ++++++++++++++++++--------- sources | 2 +- 4 files changed, 21 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index e7a624f..3746e01 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /Inline-C-0.78.tar.gz /Inline-C-0.80.tar.gz /Inline-C-0.81.tar.gz +/Inline-C-0.82.tar.gz diff --git a/perl-Inline-C.rpmlintrc b/perl-Inline-C.rpmlintrc index 608554d..4e94dcb 100644 --- a/perl-Inline-C.rpmlintrc +++ b/perl-Inline-C.rpmlintrc @@ -1,3 +1,2 @@ -from Config import * # This package builds XS modules at run-time. -addFilter("perl-Inline-C.noarch: E: devel-dependency perl-devel"); +addFilter('perl-Inline-C.noarch: E: devel-dependency perl-devel') diff --git a/perl-Inline-C.spec b/perl-Inline-C.spec index cb44c2c..e8f22e5 100644 --- a/perl-Inline-C.spec +++ b/perl-Inline-C.spec @@ -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 - 0.82-1 +- 0.82 bump + * Fri Jan 21 2022 Fedora Release Engineering - 0.81-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 6b803bf..fd4d333 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Inline-C-0.81.tar.gz) = c3d0d669c26017b4b63cc101377d067438c31fc5d1e6187d01194f70158049e386683b792716aad58772eae839512ecaefd4b3ac7a2377dd1404a651c24b2277 +SHA512 (Inline-C-0.82.tar.gz) = 1d1e91a63df12b4f3dc631fd1b66f9bd2e006b300002d9aa184ab571a128953722127400a39055d07ee630709f2a7c96dd35ad6e0860959cbb5a6fce3134b357