From 3b30e9caf4dcfe1152dce9231b670ff818cefce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 20 Apr 2016 14:03:07 +0200 Subject: [PATCH] Require packages needed for building XS code --- perl-Inline-C.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/perl-Inline-C.spec b/perl-Inline-C.spec index 89a3e27..fd51698 100644 --- a/perl-Inline-C.spec +++ b/perl-Inline-C.spec @@ -1,6 +1,6 @@ Name: perl-Inline-C Version: 0.76 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Write Perl subroutines in C License: GPL+ or Artistic Group: Development/Libraries @@ -10,11 +10,13 @@ BuildArch: noarch # Build BuildRequires: make BuildRequires: perl +BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 7.00 BuildRequires: perl(File::ShareDir::Install) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime +BuildRequires: perl-devel BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(constant) @@ -45,6 +47,12 @@ BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Warn) >= 0.23 BuildRequires: perl(version) >= 0.77 BuildRequires: perl(YAML::XS) +# It executes make +Requires: make +# It executes "perl Makefile.PL" +Requires: perl +# It requires Perl header files in the generated and compiled XS code +Requires: perl-devel Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Fcntl) Requires: perl(FindBin) @@ -84,6 +92,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Apr 20 2016 Petr Pisar - 0.76-3 +- Require packages needed for building XS code + * Thu Feb 04 2016 Fedora Release Engineering - 0.76-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild