[perl-Test-Compile] Filter Test::Compile::Internal from requires
Petr Šabata
psabata at fedoraproject.org
Wed Aug 8 08:03:16 UTC 2012
commit 313015018b275694fd85247a366d3c7d72c8d51d
Author: Petr Šabata <contyk at redhat.com>
Date: Wed Aug 8 10:01:21 2012 +0200
Filter Test::Compile::Internal from requires
perl-Test-Compile.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Test-Compile.spec b/perl-Test-Compile.spec
index 75175b4..2972924 100644
--- a/perl-Test-Compile.spec
+++ b/perl-Test-Compile.spec
@@ -1,6 +1,6 @@
Name: perl-Test-Compile
Version: 0.19
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Check whether Perl module files compile correctly
License: GPL+ or Artistic
Group: Development/Libraries
@@ -19,7 +19,9 @@ BuildRequires: perl(Test::More) >= 0.88
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
+# Don't provide the internal module
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Test::Compile::Internal.*
+%global __requires_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Test::Compile::Internal.*
%description
Test::Compile lets you check the validity of a Perl module file or Perl script
@@ -47,6 +49,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Aug 08 2012 Petr Šabata <contyk at redhat.com> - 0.19-2
+- Filter the ::Internal module from requires too
+
* Mon Aug 06 2012 Petr Šabata <contyk at redhat.com> - 0.19-1
- 0.19 bump
More information about the scm-commits
mailing list