Require perl-ExtUtils-ParseXS because of xsubpp

This commit is contained in:
Petr Písař 2014-10-24 12:55:29 +02:00
parent 6c90cdafaf
commit 6b466921f2

View File

@ -3,7 +3,7 @@
Name: perl-%{cpan_name} Name: perl-%{cpan_name}
Version: %(echo '%{cpan_version}' | tr _ .) Version: %(echo '%{cpan_version}' | tr _ .)
Release: 310%{?dist} Release: 311%{?dist}
Summary: Create a module Makefile Summary: Create a module Makefile
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -28,6 +28,8 @@ BuildRequires: perl(lib)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars) BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# If an XS module is compiled, xsubpp(1) is needed
BuildRequires: perl-ExtUtils-ParseXS
# Unbundled # Unbundled
BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(File::Copy::Recursive)
# Tests: # Tests:
@ -83,6 +85,8 @@ Requires: perl(Test::Harness)
Requires: perl(version) Requires: perl(version)
# VMS::Filespec is not needed (VMS only) # VMS::Filespec is not needed (VMS only)
# Win32 is not needed (Win32 only) # Win32 is not needed (Win32 only)
# If an XS module is compiled, xsubpp(1) is needed
Requires: perl-ExtUtils-ParseXS
# Do not export underspecified dependencies # Do not export underspecified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$
@ -122,6 +126,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Oct 24 2014 Petr Pisar <ppisar@redhat.com> - 6.98-311
- Require perl-ExtUtils-ParseXS because of xsubpp
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.98-310 * Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.98-310
- Increase release to favour standalone package - Increase release to favour standalone package